aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_welcome.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-23 13:17:13 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-23 13:17:13 +0100
commit5d726e1c28b1c004632fabeb49d1ad3a0741605e (patch)
tree0e625ad76eed547f3414687077d33dc1a1157b79 /plugins/mod_welcome.lua
parentef245f61bdfb455b45b535c00c66ee044bac5964 (diff)
downloadprosody-5d726e1c28b1c004632fabeb49d1ad3a0741605e.tar.gz
prosody-5d726e1c28b1c004632fabeb49d1ad3a0741605e.zip
mod_welcome: Change $user to $username in default welcome message (thanks to neustradamus for spotting)
Diffstat (limited to 'plugins/mod_welcome.lua')
-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 5c0da8b8..e9444363 100644
--- a/plugins/mod_welcome.lua
+++ b/plugins/mod_welcome.lua
@@ -9,7 +9,7 @@
local config = require "core.configmanager";
local host = module:get_host();
-local welcome_text = config.get("*", "core", "welcome_message") or "Hello $user, welcome to the $host IM server!";
+local welcome_text = config.get("*", "core", "welcome_message") or "Hello $username, welcome to the $host IM server!";
local st = require "util.stanza";