diff mod_stanza_counter/mod_stanza_counter_http.lua @ 659:f7aacd9e93de

mod_stanza_counter: 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:41:59 +0000
parents 34e7093cf419
children 429be98872dc
line wrap: on
line diff
--- 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/")