aboutsummaryrefslogtreecommitdiffstats
path: root/core/presencemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-02-11 18:30:44 +0000
committerMatthew Wild <mwild1@gmail.com>2009-02-11 18:30:44 +0000
commit593f1c0a523ef586f3884057632eae8123066209 (patch)
treeb2b1a6350c4204f01039e31d234bf573c2ec31e7 /core/presencemanager.lua
parent0a8bd35cebf8ee3772e1f9acd5740aea8db65d25 (diff)
parent5833e92990f5035f3b4b2c8f7c3c0651b28aa23f (diff)
downloadprosody-593f1c0a523ef586f3884057632eae8123066209.tar.gz
prosody-593f1c0a523ef586f3884057632eae8123066209.zip
Merge with waqas for MUC/routing fixes
Diffstat (limited to 'core/presencemanager.lua')
-rw-r--r--core/presencemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/presencemanager.lua b/core/presencemanager.lua
index 3a216d7c..8fdf3612 100644
--- a/core/presencemanager.lua
+++ b/core/presencemanager.lua
@@ -97,7 +97,7 @@ function handle_normal_presence(origin, stanza, core_route_stanza)
if stanza.attr.type == "unavailable" then
origin.presence = nil;
if origin.directed then
- for _, jid in ipairs(origin.directed) do
+ for jid in pairs(origin.directed) do
stanza.attr.to = jid;
core_route_stanza(origin, stanza);
end