projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165750c
)
mod_welcome: Change $user to $username in default welcome message (thanks to chris...
author
Waqas Hussain
<waqas20@gmail.com>
Mon, 26 Oct 2009 20:15:05 +0000
(
01:15
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Mon, 26 Oct 2009 20:15:05 +0000
(
01:15
+0500)
plugins/mod_welcome.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_welcome.lua
b/plugins/mod_welcome.lua
index cc50cba37b23c27d3e0e7af5af50488032f222c9..edcfbd8c0f134306b45cef949bba672f4e0f7d56 100644
(file)
--- a/
plugins/mod_welcome.lua
+++ b/
plugins/mod_welcome.lua
@@
-7,7
+7,7
@@
--
local host = module:get_host();
-local welcome_text = module:get_option("welcome_message") or "Hello $user, welcome to the $host IM server!";
+local welcome_text = module:get_option("welcome_message") or "Hello $user
name
, welcome to the $host IM server!";
local st = require "util.stanza";