Comparison

core/hostmanager.lua @ 4508:b9e0bd59d817

hostmanager: Import select() (thanks Medics)
author Matthew Wild <mwild1@gmail.com>
date Sun, 12 Feb 2012 17:53:50 +0000
parent 4502:dd1eaecc11f9
child 4730:2587e249927f
comparison
equal deleted inserted replaced
4506:6643c9753453 4508:b9e0bd59d817
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 26
27 local pairs, setmetatable = pairs, setmetatable; 27 local pairs, setmetatable, select = pairs, setmetatable, select;
28 local tostring, type = tostring, type; 28 local tostring, type = tostring, type;
29 29
30 module "hostmanager" 30 module "hostmanager"
31 31
32 local hosts_loaded_once; 32 local hosts_loaded_once;