mod_stanza_counter: remove module:set_global, with the default_host handler it's not required.
authorMarco Cirillo <maranda@lightwitch.org>
Sun, 29 Apr 2012 20:41:59 +0000
changeset 659 f7aacd9e93de
parent 658 39306c770d7d
child 660 aa3fbb33700d
mod_stanza_counter: remove module:set_global, with the default_host handler it's not required.
mod_stanza_counter/mod_stanza_counter_http.lua
--- a/mod_stanza_counter/mod_stanza_counter_http.lua	Sun Apr 29 20:40:55 2012 +0000
+++ b/mod_stanza_counter/mod_stanza_counter_http.lua	Sun Apr 29 20:41:59 2012 +0000
@@ -2,7 +2,6 @@
 -- Exposes stats on HTTP for the stanza counter module.
 
 module:depends("http")
-module:set_global()
 
 local base_path = module:get_option_array("stanza_counter_basepath", "/stanza-counter/")