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 | d70c07e53f0db54a3a87d0b33ef30148b7cf4b41 (patch) | |
tree | b891f8ec0d9052d955d819381e9ef1a99c56fd94 | |
parent | ce0661a23b01b9ce1c5365cd9a15990c364605df (diff) | |
download | prosody-d70c07e53f0db54a3a87d0b33ef30148b7cf4b41.tar.gz prosody-d70c07e53f0db54a3a87d0b33ef30148b7cf4b41.zip |
s2smanager: Explicitly export the incoming_s2s table [luacheck]
-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; |