projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_lastactivity, mod_legacyauth, mod_presence, mod_saslauth, mod_tls: Use the newer...
[prosody.git]
/
plugins
/
mod_watchregistrations.lua
diff --git
a/plugins/mod_watchregistrations.lua
b/plugins/mod_watchregistrations.lua
index ef18d713ab353c3406857883020fd31195c157c4..b7be5daf8e8a945aa29de64e82b57d762a089a7f 100644
(file)
--- a/
plugins/mod_watchregistrations.lua
+++ b/
plugins/mod_watchregistrations.lua
@@
-1,7
+1,7
@@
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
---
+--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
@@
-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;
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);
end
end);