projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome...
[prosody.git]
/
plugins
/
mod_watchregistrations.lua
diff --git
a/plugins/mod_watchregistrations.lua
b/plugins/mod_watchregistrations.lua
index ef18d713ab353c3406857883020fd31195c157c4..abca90bdab36103d3fb3ab16c0d42a2e923b8a84 100644
(file)
--- 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);