Mercurial > prosody-modules
diff mod_bidi/mod_bidi.lua @ 894:d066987e00b7
mod_bidi: Lower severity of notice about outgoing stream being replaced by bidi
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 12 Jan 2013 03:49:50 +0100 |
parents | 602e4c509095 |
children | 844b6ef5d4c4 |
line wrap: on
line diff
--- a/mod_bidi/mod_bidi.lua Sat Jan 12 02:36:30 2013 +0100 +++ b/mod_bidi/mod_bidi.lua Sat Jan 12 03:49:50 2013 +0100 @@ -31,7 +31,7 @@ if origin.direction == "incoming" then -- then we create an "outgoing" bidirectional session local conflicting_session = hosts[origin.to_host].s2sout[origin.from_host] if conflicting_session then - conflicting_session.log("warn", "We already have an outgoing connection to %s, closing it...", origin.from_host); + conflicting_session.log("info", "We already have an outgoing connection to %s, closing it...", origin.from_host); conflicting_session:close{ condition = "conflict", text = "Replaced by bidirectional stream" } s2smanager.destroy_session(conflicting_session); end