diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-23 13:14:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-23 13:14:05 +0100 |
commit | fd8059c114bb62502f6e3ebb74a722ab54299791 (patch) | |
tree | b891f8ec0d9052d955d819381e9ef1a99c56fd94 /core/s2smanager.lua | |
parent | 3263d4b39094c5d4bbbc42fd59d3166c84dd901e (diff) | |
download | prosody-fd8059c114bb62502f6e3ebb74a722ab54299791.tar.gz prosody-fd8059c114bb62502f6e3ebb74a722ab54299791.zip |
s2smanager: Explicitly export the incoming_s2s table [luacheck]
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index de13b3eb..58269c49 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -17,9 +17,9 @@ local logger_init = require "util.logger".init; 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; |