Software /
code /
prosody
Diff
core/s2smanager.lua @ 8675:d3d74e923e4e
s2smanager: Explicitly export the incoming_s2s table [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 23 Mar 2018 13:14:05 +0100 |
parent | 8555:4f0f5b49bb03 |
child | 9787:6625efab91e2 |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Mar 23 13:13:07 2018 +0100 +++ b/core/s2smanager.lua Fri Mar 23 13:14:05 2018 +0100 @@ -17,9 +17,9 @@ local log = logger_init("s2smanager"); local prosody = _G.prosody; -incoming_s2s = {}; +local incoming_s2s = {}; +_G.incoming_s2s = incoming_s2s; prosody.incoming_s2s = incoming_s2s; -local incoming_s2s = incoming_s2s; local fire_event = prosody.events.fire_event; local _ENV = nil;