Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 7677:8613086779fa 0.9.11
mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered protocol issues
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 27 Sep 2016 22:01:46 +0100 |
parent | 7100:301d58705667 |
child | 7679:589e27b47d56 |
child | 8233:4e7269c53659 |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Tue Sep 27 22:01:13 2016 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Tue Sep 27 22:01:46 2016 +0100 @@ -365,7 +365,7 @@ elseif session.direction == "outgoing" then session.notopen = nil; if not attr.id then - log("error", "Stream response did not give us a stream id!"); + log("warn", "Stream response did not give us a stream id!"); session:close({ condition = "undefined-condition", text = "Missing stream ID" }); return; end