diff -r e64c8a44060f -r 71c389c6fc2e core/stanza_router.lua --- a/core/stanza_router.lua Sat Nov 01 21:07:14 2008 +0000 +++ b/core/stanza_router.lua Sat Nov 01 21:10:19 2008 +0000 @@ -60,7 +60,7 @@ 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);