X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_watchregistrations.lua;h=b7be5daf8e8a945aa29de64e82b57d762a089a7f;hb=e79fcdc14be15b1625b0730499b40c4fc214e252;hp=ef18d713ab353c3406857883020fd31195c157c4;hpb=0fca111e4199960aabfadac953b07d2fa0f1e8a1;p=prosody.git diff --git a/plugins/mod_watchregistrations.lua b/plugins/mod_watchregistrations.lua index ef18d713..b7be5daf 100644 --- 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 --- +-- -- 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; - core_route_stanza(hosts[host], message); + module:send(message); end end);