# HG changeset patch # User Marco Cirillo # Date 1326808693 0 # Node ID 3d66b0af9a15bf4942362a19bc8718d5b162378d # Parent fe85e18a06cb33689c88f7e75111a760fb40f331 mod_stanza_counter_http: revert to use module:get_option_boolean diff -r fe85e18a06cb -r 3d66b0af9a15 mod_stanza_counter/mod_stanza_counter_http.lua --- a/mod_stanza_counter/mod_stanza_counter_http.lua Tue Jan 17 13:53:49 2012 +0000 +++ b/mod_stanza_counter/mod_stanza_counter_http.lua Tue Jan 17 13:58:13 2012 +0000 @@ -53,7 +53,7 @@ end -- if there are no handlers left clean and close the socket, doesn't work with server_event - local event = require "core.configmanager".get("*", "core", "use_libevent") + local event = module:get_option_boolen("use_libevent", false) if not event then for _, options in ipairs(ports) do