author | Marco Cirillo <maranda@lightwitch.org> |
Tue, 17 Jan 2012 13:52:48 +0000 | |
changeset 566 | 39a612eb4431 |
parent 565 | 9c2eea631811 |
child 567 | fe85e18a06cb |
--- a/mod_register_json/mod_register_json.lua Tue Jan 17 01:43:50 2012 +0000 +++ b/mod_register_json/mod_register_json.lua Tue Jan 17 13:52:48 2012 +0000 @@ -125,7 +125,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