Software /
code /
prosody
Diff
core/modulemanager.lua @ 1733:d55ee6c66910
Merge with 0.5
author | matthew@silver |
---|---|
date | Sat, 05 Sep 2009 23:01:06 +0100 |
parent | 1709:51cf905414a2 |
parent | 1730:f4170bc82969 |
child | 1853:5da0e3b1f847 |
line wrap: on
line diff
--- 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";