changeset 656:74bd7ebe5792

mod_server_status: fix code typo, get_option_array was used instead of get_option_string
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 29 Apr 2012 20:18:45 +0000
parents 81d269f97ea2
children 26e61a9afb5c
files mod_server_status/mod_server_status.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_server_status/mod_server_status.lua	Sun Apr 29 20:16:43 2012 +0000
+++ b/mod_server_status/mod_server_status.lua	Sun Apr 29 20:18:45 2012 +0000
@@ -4,7 +4,7 @@
 module:depends("http")
 module:set_global()
 
-local base_path = module:get_option_array("server_status_basepath", "/server-status/")
+local base_path = module:get_option_string("server_status_basepath", "/server-status/")
 local show_hosts = module:get_option_array("server_status_show_hosts", nil)
 local show_comps = module:get_option_array("server_status_show_comps", nil)
 local json_output = module:get_option_boolean("server_status_json", false)