core/modulemanager.lua

changeset 2951
294c359a05f5
parent 2925
692b3c6c5bd2
parent 2949
ef19faa7d106
child 2977
686f9a5a7f5e
--- a/core/modulemanager.lua	Thu Mar 25 19:34:41 2010 +0000
+++ b/core/modulemanager.lua	Tue Mar 30 19:45:56 2010 +0100
@@ -274,7 +274,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