diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-08-08 23:38:02 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-08-08 23:38:02 +0500 |
commit | b226545decb1fafa7cef15f4e0c37cd459a70dd7 (patch) | |
tree | 81bcd1dab5e64611975654b92327d857b72e7a35 /plugins | |
parent | f0887b0864484aa8f920b12f7144a142fd1df0ac (diff) | |
download | prosody-b226545decb1fafa7cef15f4e0c37cd459a70dd7.tar.gz prosody-b226545decb1fafa7cef15f4e0c37cd459a70dd7.zip |
mod_welcome: Updated to use module:get_option instead of configmanager
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_welcome.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mod_welcome.lua b/plugins/mod_welcome.lua index 5c0da8b8..cc50cba3 100644 --- a/plugins/mod_welcome.lua +++ b/plugins/mod_welcome.lua @@ -6,10 +6,8 @@ -- COPYING file in the source package for more information. -- -local config = require "core.configmanager"; - local host = module:get_host(); -local welcome_text = config.get("*", "core", "welcome_message") or "Hello $user, welcome to the $host IM server!"; +local welcome_text = module:get_option("welcome_message") or "Hello $user, welcome to the $host IM server!"; local st = require "util.stanza"; |