aboutsummaryrefslogtreecommitdiffstats
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
commit6637aeffb6640e8ac92fbc4292c1870de6718309 (patch)
treec971ece2d03cb554d95666ed3e8aa42ddf2250ba
parent81bef2c93b53e006cbeebdffc80040af6b4daf68 (diff)
downloadprosody-6637aeffb6640e8ac92fbc4292c1870de6718309.tar.gz
prosody-6637aeffb6640e8ac92fbc4292c1870de6718309.zip
mod_admin_telnet: Use module:get_option() instead of configmanager directly
-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 [[
____ \ / _