aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2019-03-19 09:08:33 +0000
committerMatthew Wild <mwild1@gmail.com>2019-03-19 09:08:33 +0000
commit755b5076441531a8c8b6f2b2ab831800768402ef (patch)
treed2cb3b54d82a0a97c439b7a6f5e0cf0d35b9a246 /plugins/mod_s2s
parentc6efcf09bec3f89c768ebab216c69ce116b091e6 (diff)
downloadprosody-755b5076441531a8c8b6f2b2ab831800768402ef.tar.gz
prosody-755b5076441531a8c8b6f2b2ab831800768402ef.zip
mod_s2s: Set warning status if not listening on any ports
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/s2sout.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua
index 5f765da8..34e322d2 100644
--- a/plugins/mod_s2s/s2sout.lib.lua
+++ b/plugins/mod_s2s/s2sout.lib.lua
@@ -318,7 +318,7 @@ module:hook_global("service-added", function (event)
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