plugins/mod_watchregistrations.lua
changeset 5014 b2006c1cfa85
parent 4909 01bfb9a76660
child 5776 bd0ff8ae98a8
child 8155 8e26672df704
--- a/plugins/mod_watchregistrations.lua	Thu Jul 26 04:33:17 2012 +0200
+++ b/plugins/mod_watchregistrations.lua	Thu Jul 26 04:35:13 2012 +0200
@@ -25,6 +25,6 @@
 	for jid in registration_watchers do
 		module:log("debug", "Notifying %s", jid);
 		message.attr.to = jid;
-		core_route_stanza(hosts[host], message);
+		module:send(message);
 	end
 end);