Diff

plugins/mod_welcome.lua @ 3540:bc139431830b

Monster whitespace commit (beware the whitespace monster).
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 23:00:42 +0500
parent 2923:b7049746bd29
child 5014:b2006c1cfa85
line wrap: on
line diff
--- a/plugins/mod_welcome.lua	Sat Oct 16 08:34:32 2010 +0500
+++ b/plugins/mod_welcome.lua	Sat Oct 16 23:00:42 2010 +0500
@@ -11,9 +11,9 @@
 
 local st = require "util.stanza";
 
-module:hook("user-registered", 
+module:hook("user-registered",
 	function (user)
-		local welcome_stanza = 
+		local welcome_stanza =
 			st.message({ to = user.username.."@"..user.host, from = host })
 				:tag("body"):text(welcome_text:gsub("$(%w+)", user));
 		core_route_stanza(hosts[host], welcome_stanza);