From d70c07e53f0db54a3a87d0b33ef30148b7cf4b41 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 23 Mar 2018 13:14:05 +0100 Subject: s2smanager: Explicitly export the incoming_s2s table [luacheck] --- core/s2smanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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; -- cgit v1.2.3