Changeset

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
parents 657:26e61a9afb5c
children 659:f7aacd9e93de
files mod_server_status/mod_server_status.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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)