From 379a6cfa90c5c01387b7a2ec89a29e500e704662 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 16 Dec 2020 08:50:20 +0100 Subject: mod_s2s: Fix copypaste mistake in b3ae48362f78 Directly sending something over s2s needs to use sends2s() but the code copied from mod_c2s had .send() --- plugins/mod_s2s/mod_s2s.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 4fce20eb..8e398f56 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -165,7 +165,7 @@ end local function keepalive(event) local session = event.session; if not session.notopen then - return event.session.send(' '); + return event.session.sends2s(' '); end end -- cgit v1.2.3