--- a/core/modulemanager.lua Wed Sep 02 19:23:02 2009 +0500 +++ b/core/modulemanager.lua Sat Sep 05 23:01:06 2009 +0100 @@ -228,7 +228,7 @@ end function handle_stanza(host, origin, stanza) - local name, xmlns, origin_type = stanza.name, stanza.attr.xmlns, origin.type; + local name, xmlns, origin_type = stanza.name, stanza.attr.xmlns or "jabber:client", origin.type; if name == "iq" and xmlns == "jabber:client" then if stanza.attr.type == "get" or stanza.attr.type == "set" then xmlns = stanza.tags[1].attr.xmlns or "jabber:client";