# HG changeset patch # User Matthew Wild # Date 1552986513 0 # Node ID 744e08ac5596b8a2c40ac0f3dbf4220bd63a1d29 # Parent 8f48805768358195f6ebbd6d877a773da4bc6620 mod_s2s: Set warning status if not listening on any ports diff -r 8f4880576835 -r 744e08ac5596 plugins/mod_s2s/s2sout.lib.lua --- a/plugins/mod_s2s/s2sout.lib.lua Tue Mar 19 09:08:06 2019 +0000 +++ b/plugins/mod_s2s/s2sout.lib.lua Tue Mar 19 09:08:33 2019 +0000 @@ -318,7 +318,7 @@ local s2s_sources = portmanager.get_active_services():get("s2s"); if not s2s_sources then - module:log("warn", "s2s not listening on any ports, outgoing connections may fail"); + module:log_status("warn", "s2s not listening on any ports, outgoing connections may fail"); return; end for source, _ in pairs(s2s_sources) do