Software /
code /
prosody-modules
Changeset
566:39a612eb4431
mod_register_json: revert to use module:get_option_boolean
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Tue, 17 Jan 2012 13:52:48 +0000 (2012-01-17) |
parents | 565:9c2eea631811 |
children | 567:fe85e18a06cb |
files | mod_register_json/mod_register_json.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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