aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-08-27 13:20:08 +0200
committerKim Alvefur <zash@zash.se>2014-08-27 13:20:08 +0200
commit9736855cd32470d3750ddc6ffaa88470bb87b9f7 (patch)
tree3a29c4332cf662e835cd407a99da16872f012b1e /plugins/mod_s2s
parent4edabcbd81935dad5483dbcd71532b6029911921 (diff)
downloadprosody-9736855cd32470d3750ddc6ffaa88470bb87b9f7.tar.gz
prosody-9736855cd32470d3750ddc6ffaa88470bb87b9f7.zip
mod_s2s: Reset stream ID when resetting stream [compliance]
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index d4864a38..c288d858 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -528,6 +528,7 @@ local function initialize_session(session)
function session.reset_stream()
session.notopen = true;
+ session.streamid = nil;
session.stream:reset();
end