diff mod_server_status/mod_server_status.lua @ 567:fe85e18a06cb

mod_server_status: revert to use module:get_option_boolean
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 17 Jan 2012 13:53:49 +0000
parents 0b52d82ea0b3
children 00590d492a5b
line wrap: on
line diff
--- a/mod_server_status/mod_server_status.lua	Tue Jan 17 13:52:48 2012 +0000
+++ b/mod_server_status/mod_server_status.lua	Tue Jan 17 13:53:49 2012 +0000
@@ -138,7 +138,7 @@
                 end
         end
 
-	local event = require "core.configmanager".get("*", "core", "use_libevent");
+	local event = module:get_option_boolen("use_libevent", false)
 
 	-- if there're no handlers left clean the socket, not sure if it works with server_select
 	if not event then