aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_watchregistrations.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-07-26 04:35:13 +0200
committerKim Alvefur <zash@zash.se>2012-07-26 04:35:13 +0200
commit4330e1308d1858206a3da4fcfea39e04d1d5a141 (patch)
treeb262fce04e2743e13aa28d39844d2bff7bf354dc /plugins/mod_watchregistrations.lua
parent790e0bb9b426413f10e5efcd0dfd680e9bf20de2 (diff)
downloadprosody-4330e1308d1858206a3da4fcfea39e04d1d5a141.tar.gz
prosody-4330e1308d1858206a3da4fcfea39e04d1d5a141.zip
mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza()
Diffstat (limited to 'plugins/mod_watchregistrations.lua')
-rw-r--r--plugins/mod_watchregistrations.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_watchregistrations.lua b/plugins/mod_watchregistrations.lua
index ef18d713..abca90bd 100644
--- a/plugins/mod_watchregistrations.lua
+++ b/plugins/mod_watchregistrations.lua
@@ -25,6 +25,6 @@ module:hook("user-registered", function (user)
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);