Changeset

2056:c781a949661d

mod_welcome: Change $user to $username in default welcome message (thanks to chris for spotting)
author Waqas Hussain <waqas20@gmail.com>
date Tue, 27 Oct 2009 01:15:05 +0500
parents 2055:ed3910860d11
children 2058:77244fd4ca99
files plugins/mod_welcome.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_welcome.lua	Sun Oct 25 21:26:36 2009 +0500
+++ b/plugins/mod_welcome.lua	Tue Oct 27 01:15:05 2009 +0500
@@ -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";