From 72339ab0e3297c891c9c87f610ccfc08ec223f7a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 28 Jul 2012 01:17:23 +0100 Subject: mod_admin_telnet: Use module:get_option() instead of configmanager directly --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index ebd817b5..eb7be121 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -957,7 +957,7 @@ end ------------- function printbanner(session) - local option = config.get("*", "core", "console_banner"); + local option = module:get_option("console_banner"); if option == nil or option == "full" or option == "graphic" then session.print [[ ____ \ / _ -- cgit v1.2.3