From 084b66894b817ff8b3ac0671b8f500c4bd998dd4 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 1 Nov 2008 21:10:19 +0000 Subject: Another fix for s2s (well, let's say it was more for modules) --- core/stanza_router.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/stanza_router.lua b/core/stanza_router.lua index fc8cfa92..01a46961 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -60,7 +60,7 @@ function core_process_stanza(origin, stanza) core_handle_stanza(origin, stanza); elseif stanza.name == "iq" and not select(3, jid_split(to)) then core_handle_stanza(origin, stanza); - elseif stanza.attr.xmlns ~= "jabber:client" and stanza.attr.xmlns ~= "jabber:server" then + elseif stanza.attr.xmlns and stanza.attr.xmlns ~= "jabber:client" and stanza.attr.xmlns ~= "jabber:server" then modules_handle_stanza(origin, stanza); elseif origin.type == "c2s" or origin.type == "s2sin" then core_route_stanza(origin, stanza); -- cgit v1.2.3