aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-23 13:14:05 +0100
committerKim Alvefur <zash@zash.se>2018-03-23 13:14:05 +0100
commitd70c07e53f0db54a3a87d0b33ef30148b7cf4b41 (patch)
treeb891f8ec0d9052d955d819381e9ef1a99c56fd94 /core/s2smanager.lua
parentce0661a23b01b9ce1c5365cd9a15990c364605df (diff)
downloadprosody-d70c07e53f0db54a3a87d0b33ef30148b7cf4b41.tar.gz
prosody-d70c07e53f0db54a3a87d0b33ef30148b7cf4b41.zip
s2smanager: Explicitly export the incoming_s2s table [luacheck]
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua4
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;