Comparison

core/hostmanager.lua @ 5347:32e25358c3c2

hostmanager: Import core_post_stanza from the global prosody table
author Kim Alvefur <zash@zash.se>
date Wed, 13 Mar 2013 07:01:57 +0100
parent 5123:7c5c86fa552e
child 5357:ac530c44772e
comparison
equal deleted inserted replaced
5345:9b85976c873f 5347:32e25358c3c2
21 local prosody_events = prosody.events; 21 local prosody_events = prosody.events;
22 if not _G.prosody.incoming_s2s then 22 if not _G.prosody.incoming_s2s then
23 require "core.s2smanager"; 23 require "core.s2smanager";
24 end 24 end
25 local incoming_s2s = _G.prosody.incoming_s2s; 25 local incoming_s2s = _G.prosody.incoming_s2s;
26 local core_route_stanza = _G.prosody.core_route_stanza;
26 27
27 local pairs, select = pairs, select; 28 local pairs, select = pairs, select;
28 local tostring, type = tostring, type; 29 local tostring, type = tostring, type;
29 30
30 module "hostmanager" 31 module "hostmanager"