aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-09-27 22:01:46 +0100
committerMatthew Wild <mwild1@gmail.com>2016-09-27 22:01:46 +0100
commit0ceec83b55fb2b868797dfd0651634c28ddf518f (patch)
treeebd777c4a9cee013dff2ca0dc16610d01a7e7ef3 /plugins/mod_s2s/mod_s2s.lua
parentf2763a36e743df8ea1bb14e20103c710511e1102 (diff)
downloadprosody-0ceec83b55fb2b868797dfd0651634c28ddf518f.tar.gz
prosody-0ceec83b55fb2b868797dfd0651634c28ddf518f.zip
mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered protocol issues
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 4173fcfa..e038e5b4 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -365,7 +365,7 @@ function stream_callbacks.streamopened(session, attr)
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