aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authormatthew <matthew@silver>2009-09-05 23:01:06 +0100
committermatthew <matthew@silver>2009-09-05 23:01:06 +0100
commit62ef87bb8fd695c0c63fd07b83dee477d7b365d6 (patch)
tree70ae38642101513d0c888d2c7f840a60cf686d0c /core/modulemanager.lua
parentb4fa86acea319d65c8866accf38dd870e5d381aa (diff)
parentc1e71bdec84a2ac4c5ab5bca75854a9e36464612 (diff)
downloadprosody-62ef87bb8fd695c0c63fd07b83dee477d7b365d6.tar.gz
prosody-62ef87bb8fd695c0c63fd07b83dee477d7b365d6.zip
Merge with 0.5
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 7037fc90..6bc8e285 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -228,7 +228,7 @@ function reload(host, name, ...)
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";