aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
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 [[
____ \ / _