aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-03-22 14:50:29 +0000
committerMatthew Wild <mwild1@gmail.com>2013-03-22 14:50:29 +0000
commit81bfc7ac9f7e843cdbd248c7f6de30abd4d2a831 (patch)
tree90ca85661202e7d9e08565f7ccef3c6f9f77fa22
parent1ebb493e38272e46fc99f56e171718f09b255b02 (diff)
downloadprosody-81bfc7ac9f7e843cdbd248c7f6de30abd4d2a831.tar.gz
prosody-81bfc7ac9f7e843cdbd248c7f6de30abd4d2a831.zip
s2smanager: Access prosody.hosts instead of hosts global directly
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index b034fcae..a6e39705 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -8,7 +8,7 @@
-local hosts = hosts;
+local hosts = prosody.hosts;
local tostring, pairs, getmetatable, newproxy, setmetatable
= tostring, pairs, getmetatable, newproxy, setmetatable;