Software /
code /
prosody
Changeset
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 |
parents | 11235:1dba335eacea |
children | 11238:ec84194356d4 11261:be38ae8fdfa5 |
files | plugins/mod_s2s/mod_s2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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