# HG changeset patch # User Matthew Wild # Date 1363963829 0 # Node ID c1357b7fbca322659e635d1d68675edd3f00c6a4 # Parent cd480ea490f1205ba31727e16888bf08bcc79c43 s2smanager: Access prosody.hosts instead of hosts global directly diff -r cd480ea490f1 -r c1357b7fbca3 core/s2smanager.lua --- 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;