Software /
code /
prosody-modules
Diff
mod_server_status/mod_server_status.lua @ 658:39306c770d7d
mod_server_status: remove module:set_global, with the default_host handler it's not required.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Sun, 29 Apr 2012 20:40:55 +0000 |
parent | 657:26e61a9afb5c |
child | 1343:7dbde05b48a9 |
line wrap: on
line diff
--- a/mod_server_status/mod_server_status.lua Sun Apr 29 20:29:07 2012 +0000 +++ b/mod_server_status/mod_server_status.lua Sun Apr 29 20:40:55 2012 +0000 @@ -2,7 +2,6 @@ -- Display server stats in readable XML or JSON format module:depends("http") -module:set_global() local base_path = module:get_option_string("server_status_basepath", "/server-status/") local show_hosts = module:get_option_array("server_status_show_hosts", nil)