core/modulemanager.lua

changeset 2949
ef19faa7d106
parent 2923
b7049746bd29
child 2951
294c359a05f5
--- a/core/modulemanager.lua	Wed Mar 24 20:00:22 2010 +0000
+++ b/core/modulemanager.lua	Tue Mar 30 19:40:16 2010 +0100
@@ -270,7 +270,7 @@
 		(handlers[1])(origin, stanza);
 		return true;
 	else
-		if stanza.attr.xmlns == "jabber:client" then
+		if stanza.attr.xmlns == nil then
 			log("debug", "Unhandled %s stanza: %s; xmlns=%s", origin.type, stanza.name, xmlns); -- we didn't handle it
 			if stanza.attr.type ~= "error" and stanza.attr.type ~= "result" then
 				origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));

mercurial