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
commit48d7d7fd122ede3ace09d62e65f7770007c2e221 (patch)
tree3a29c4332cf662e835cd407a99da16872f012b1e /plugins
parenta1f03e4a9cc8bcae1eb6cf9e25b990d7b57532f8 (diff)
downloadprosody-48d7d7fd122ede3ace09d62e65f7770007c2e221.tar.gz
prosody-48d7d7fd122ede3ace09d62e65f7770007c2e221.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