Comparison

core/s2smanager.lua @ 5366:c1357b7fbca3

s2smanager: Access prosody.hosts instead of hosts global directly
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Mar 2013 14:50:29 +0000
parent 5362:612467e263af
child 5367:56db8f2c8563
comparison
equal deleted inserted replaced
5365:cd480ea490f1 5366:c1357b7fbca3
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 9
10 10
11 local hosts = hosts; 11 local hosts = prosody.hosts;
12 local tostring, pairs, getmetatable, newproxy, setmetatable 12 local tostring, pairs, getmetatable, newproxy, setmetatable
13 = tostring, pairs, getmetatable, newproxy, setmetatable; 13 = tostring, pairs, getmetatable, newproxy, setmetatable;
14 14
15 local logger_init = require "util.logger".init; 15 local logger_init = require "util.logger".init;
16 16