aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitf1e1b7b337884c764657245a3e42b8a438ad2c1c (patch)
tree3a29c4332cf662e835cd407a99da16872f012b1e /plugins
parent5b27b1ab9e08ddb49468474a188e97683f232335 (diff)
downloadprosody-f1e1b7b337884c764657245a3e42b8a438ad2c1c.tar.gz
prosody-f1e1b7b337884c764657245a3e42b8a438ad2c1c.zip
mod_s2s: Reset stream ID when resetting stream [compliance]
Diffstat (limited to 'plugins')
-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