Software /
code /
prosody
Diff
plugins/mod_s2s/mod_s2s.lua @ 11237:49aeae836ad1 0.11
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()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 16 Dec 2020 08:50:20 +0100 |
parent | 11226:b3ae48362f78 |
child | 11540:1937b3c3efb5 |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Tue Dec 15 13:36:08 2020 +0000 +++ b/plugins/mod_s2s/mod_s2s.lua Wed Dec 16 08:50:20 2020 +0100 @@ -165,7 +165,7 @@ local function keepalive(event) local session = event.session; if not session.notopen then - return event.session.send(' '); + return event.session.sends2s(' '); end end