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
commitef0bac2fe0bde60b990bb952a73f9bd9b526f7eb (patch)
tree3a29c4332cf662e835cd407a99da16872f012b1e /plugins
parent3dc45c12229c9f5aaf3c47081394855489a245b7 (diff)
downloadprosody-ef0bac2fe0bde60b990bb952a73f9bd9b526f7eb.tar.gz
prosody-ef0bac2fe0bde60b990bb952a73f9bd9b526f7eb.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