projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MUC: Fix logic for when to broadcast unavailable presence (actual fix for 14170d161b39)
[prosody.git]
/
plugins
/
mod_welcome.lua
diff --git
a/plugins/mod_welcome.lua
b/plugins/mod_welcome.lua
index 9c0c821b582b6b771c37f6a1672c8b17aad5f681..d74643de174ca4ff46fec5fe1ec51977f3148b28 100644
(file)
--- a/
plugins/mod_welcome.lua
+++ b/
plugins/mod_welcome.lua
@@
-7,7
+7,7
@@
--
local host = module:get_host();
--
local host = module:get_host();
-local welcome_text = module:get_option
("welcome_message") or "Hello $username, welcome to the $host IM server!"
;
+local welcome_text = module:get_option
_string("welcome_message", "Hello $username, welcome to the $host IM server!")
;
local st = require "util.stanza";
local st = require "util.stanza";