Software /
code /
prosody
Diff
plugins/mod_welcome.lua @ 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 |
parent | 1816:1c0bde3db7d8 |
child | 2923:b7049746bd29 |
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";