projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.server_select: Allow setting the logger using server.setlogger
[prosody.git]
/
plugins
/
mod_welcome.lua
diff --git
a/plugins/mod_welcome.lua
b/plugins/mod_welcome.lua
index e9444363d2cff91dfa4d50438237ecd97cdd418d..edcfbd8c0f134306b45cef949bba672f4e0f7d56 100644
(file)
--- a/
plugins/mod_welcome.lua
+++ b/
plugins/mod_welcome.lua
@@
-6,10
+6,8
@@
-- COPYING file in the source package for more information.
--
-- COPYING file in the source package for more information.
--
-local config = require "core.configmanager";
-
local host = module:get_host();
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";
local st = require "util.stanza";