aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-08 20:19:55 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-08 20:19:55 +0100
commitf6a5da2375a21b7cd2429b7ba82d819683af5109 (patch)
tree7148b7e142e79cfc47dcec5f7e22f47a219946b3 /plugins/mod_muc.lua
parent9982558804de3976a3d5d9e12ab5215503420e0f (diff)
parentedd59b5d381bd8b0daee063a99f8678f86f6b9bb (diff)
downloadprosody-f6a5da2375a21b7cd2429b7ba82d819683af5109.tar.gz
prosody-f6a5da2375a21b7cd2429b7ba82d819683af5109.zip
Automated merge with http://waqas.ath.cx:8000/
Diffstat (limited to 'plugins/mod_muc.lua')
-rw-r--r--plugins/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua
index 117a044b..8fbe1e91 100644
--- a/plugins/mod_muc.lua
+++ b/plugins/mod_muc.lua
@@ -259,7 +259,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc
end
else -- possible rejoin
log("debug", "%s had connection replaced", current_nick);
- handle_to_occupant(origin, st.presence({type='unavailable', from=from, to=to}):tag('status'):text('Replaced by new connection')); -- send unavailable
+ handle_to_occupant(origin, st.presence({type='unavailable', from=from, to=to}):tag('status'):text('Replaced by new connection'):up()); -- send unavailable
handle_to_occupant(origin, stanza); -- resend available
end
else -- enter room