Send host, and not the recipient's JID to module manager (fixes #53)

remotes/origin/sasl
Waqas Hussain 17 years ago
parent 05906a2106
commit 86e114c8a2
  1. 2
      core/stanza_router.lua

@ -125,7 +125,7 @@ end
-- that is, they are handled by this server
function core_handle_stanza(origin, stanza)
-- Handlers
if modules_handle_stanza(stanza.attr.to or origin.host, origin, stanza) then return; end
if modules_handle_stanza(select(2, jid_split(stanza.attr.to)) or origin.host, origin, stanza) then return; end
if origin.type == "c2s" or origin.type == "s2sin" then
if origin.type == "c2s" then
if stanza.name == "presence" and origin.roster then

Loading…
Cancel
Save