Software /
code /
prosody
Changeset
1814:846224d7a377
mod_welcome: Change $user to $username in default welcome message (thanks to neustradamus for spotting)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 23 Sep 2009 13:17:13 +0100 |
parents | 1813:2683cdaf6dc8 |
children | 1815:e2f0c514d039 |
files | plugins/mod_welcome.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_welcome.lua Mon Sep 21 17:59:21 2009 +0100 +++ b/plugins/mod_welcome.lua Wed Sep 23 13:17:13 2009 +0100 @@ -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";