Diff

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
line wrap: on
line diff
--- a/core/s2smanager.lua	Fri Mar 22 14:31:14 2013 +0000
+++ b/core/s2smanager.lua	Fri Mar 22 14:50:29 2013 +0000
@@ -8,7 +8,7 @@
 
 
 
-local hosts = hosts;
+local hosts = prosody.hosts;
 local tostring, pairs, getmetatable, newproxy, setmetatable
     = tostring, pairs, getmetatable, newproxy, setmetatable;