aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-12-16 08:50:20 +0100
committerKim Alvefur <zash@zash.se>2020-12-16 08:50:20 +0100
commitc48e0ea351ea38188cfb47c8c760e6a76d1545ea (patch)
tree714e66039b024d65adf2bc8cdff934cdd9f26121 /plugins
parent26f73a74e651adfffb3ebddf985069ee3bbe767c (diff)
downloadprosody-c48e0ea351ea38188cfb47c8c760e6a76d1545ea.tar.gz
prosody-c48e0ea351ea38188cfb47c8c760e6a76d1545ea.zip
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()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
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