Changeset

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
parents 9870:8f4880576835
children 9872:e1d68f32ce29
files plugins/mod_s2s/s2sout.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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