Diff

plugins/mod_watchregistrations.lua @ 4541:05f5ec99da77

Merge with trunk
author Matthew Wild <mwild1@gmail.com>
date Sun, 22 Jan 2012 22:55:49 +0000
parent 4453:7dc743378e1e
child 4909:01bfb9a76660
line wrap: on
line diff
--- a/plugins/mod_watchregistrations.lua	Sat Dec 10 17:21:19 2011 +0000
+++ b/plugins/mod_watchregistrations.lua	Sun Jan 22 22:55:49 2012 +0000
@@ -18,7 +18,7 @@
 	module:log("debug", "Notifying of new registration");
 	local message = st.message{ type = "chat", from = host }
 		:tag("body")
-			:text(registration_alert:gsub("%$(%w+)", function (v)
+			:text(registration_notification:gsub("%$(%w+)", function (v)
 				return user[v] or user.session and user.session[v] or nil;
 			end));
 	for _, jid in ipairs(registration_watchers) do