aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-27 01:15:05 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-27 01:15:05 +0500
commitc73ece03d8efcc4b46712ff32b7da610cb21dc4f (patch)
treed21c8cab3598e8bfefbebca56a36923fbc135064
parentc07ef005e8b80a849b5b6fcf1a7aff94077cc940 (diff)
downloadprosody-c73ece03d8efcc4b46712ff32b7da610cb21dc4f.tar.gz
prosody-c73ece03d8efcc4b46712ff32b7da610cb21dc4f.zip
mod_welcome: Change $user to $username in default welcome message (thanks to chris for spotting)
-rw-r--r--plugins/mod_welcome.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_welcome.lua b/plugins/mod_welcome.lua
index cc50cba3..edcfbd8c 100644
--- 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 $username, welcome to the $host IM server!";
local st = require "util.stanza";