Software /
code /
prosody
Comparison
core/hostmanager.lua @ 4748:1099ff8d9f76
hostmanager: Remove import of unused setmetatable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 02:25:54 +0100 |
parent | 4732:29ff25c8bf56 |
child | 4834:878f75ccc4fb |
comparison
equal
deleted
inserted
replaced
4747:3f526f84dbbd | 4748:1099ff8d9f76 |
---|---|
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, select = pairs, setmetatable, select; | 27 local pairs, select = pairs, 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; |