Changeset

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
parents 5365:cd480ea490f1
children 5367:56db8f2c8563
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;