Diff

plugins/mod_welcome.lua @ 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
parent 1523:841d61be198f
child 1816:1c0bde3db7d8
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";