Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
8674:55807a2f5d23 | 8675:d3d74e923e4e |
---|---|
15 local logger_init = require "util.logger".init; | 15 local logger_init = require "util.logger".init; |
16 | 16 |
17 local log = logger_init("s2smanager"); | 17 local log = logger_init("s2smanager"); |
18 | 18 |
19 local prosody = _G.prosody; | 19 local prosody = _G.prosody; |
20 incoming_s2s = {}; | 20 local incoming_s2s = {}; |
21 _G.incoming_s2s = incoming_s2s; | |
21 prosody.incoming_s2s = incoming_s2s; | 22 prosody.incoming_s2s = incoming_s2s; |
22 local incoming_s2s = incoming_s2s; | |
23 local fire_event = prosody.events.fire_event; | 23 local fire_event = prosody.events.fire_event; |
24 | 24 |
25 local _ENV = nil; | 25 local _ENV = nil; |
26 -- luacheck: std none | 26 -- luacheck: std none |
27 | 27 |