Software /
code /
prosody
Diff
plugins/mod_s2s/s2sout.lib.lua @ 9871:744e08ac5596
mod_s2s: Set warning status if not listening on any ports
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 19 Mar 2019 09:08:33 +0000 |
parent | 9414:a48579a7b709 |
line wrap: on
line diff
--- 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