Changeset

192:71c389c6fc2e

Another fix for s2s (well, let's say it was more for modules)
author Matthew Wild <mwild1@gmail.com>
date Sat, 01 Nov 2008 21:10:19 +0000
parents 191:e64c8a44060f
children 193:13ac34255c37
files core/stanza_router.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);