diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:17:23 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-28 01:17:23 +0100 |
commit | 72339ab0e3297c891c9c87f610ccfc08ec223f7a (patch) | |
tree | c971ece2d03cb554d95666ed3e8aa42ddf2250ba /plugins/mod_admin_telnet.lua | |
parent | fbe75768718891167313bc0cbcffcd3a46042d31 (diff) | |
download | prosody-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.lua | 2 |
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 [[ ____ \ / _ |