aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_telnet.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-28 01:17:23 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-28 01:17:23 +0100
commit72339ab0e3297c891c9c87f610ccfc08ec223f7a (patch)
treec971ece2d03cb554d95666ed3e8aa42ddf2250ba /plugins/mod_admin_telnet.lua
parentfbe75768718891167313bc0cbcffcd3a46042d31 (diff)
downloadprosody-72339ab0e3297c891c9c87f610ccfc08ec223f7a.tar.gz
prosody-72339ab0e3297c891c9c87f610ccfc08ec223f7a.zip
mod_admin_telnet: Use module:get_option() instead of configmanager directly
Diffstat (limited to 'plugins/mod_admin_telnet.lua')
-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 [[
____ \ / _