changeset 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 39a612eb4431
children 3d66b0af9a15
files mod_server_status/mod_server_status.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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