aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-02 02:23:52 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-02 02:23:52 +0500
commit3a14c1ab216ab1ff415f03571b2928e7be1240d1 (patch)
tree146c823c159463d10c7c81ff3c01b781cd576095 /core
parent084b66894b817ff8b3ac0671b8f500c4bd998dd4 (diff)
downloadprosody-3a14c1ab216ab1ff415f03571b2928e7be1240d1.tar.gz
prosody-3a14c1ab216ab1ff415f03571b2928e7be1240d1.zip
mod_roster fix
Diffstat (limited to 'core')
-rw-r--r--core/rostermanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index 757c9a6c..9a203337 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -59,8 +59,8 @@ function roster_push(username, host, jid)
else
stanza:tag("item", {jid = jid, subscription = "remove"});
end
- stanza:up();
- stanza:up();
+ stanza:up(); -- move out from item
+ stanza:up(); -- move out from stanza
-- stanza ready
for _, session in pairs(hosts[host].sessions[username].sessions) do
if session.interested then