changeset 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 39306c770d7d
children aa3fbb33700d
files mod_stanza_counter/mod_stanza_counter_http.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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/")