net.server_select: Allow setting the logger using server.setlogger
[prosody.git] / plugins / mod_welcome.lua
index e9444363d2cff91dfa4d50438237ecd97cdd418d..edcfbd8c0f134306b45cef949bba672f4e0f7d56 100644 (file)
@@ -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 $username, welcome to the $host IM server!";
+local welcome_text = module:get_option("welcome_message") or "Hello $username, welcome to the $host IM server!";
 
 local st = require "util.stanza";