Software /
code /
prosody
Diff
plugins/mod_admin_telnet.lua @ 5025:e68d1b85ee3a
mod_admin_telnet: Use module:get_option() instead of configmanager directly
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Jul 2012 01:17:23 +0100 |
parent | 5024:d25e1b9332cc |
child | 5026:c86a14414922 |
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua Sat Jul 28 01:14:31 2012 +0100 +++ b/plugins/mod_admin_telnet.lua Sat Jul 28 01:17:23 2012 +0100 @@ -957,7 +957,7 @@ ------------- 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 [[ ____ \ / _