s2smanager: Access prosody.hosts instead of hosts global directly
authorMatthew Wild <mwild1@gmail.com>
Fri, 22 Mar 2013 14:50:29 +0000 (14:50 +0000)
committerMatthew Wild <mwild1@gmail.com>
Fri, 22 Mar 2013 14:50:29 +0000 (14:50 +0000)
core/s2smanager.lua

index b034fcaeeb33161f95d359143cf28aade2189b86..a6e39705f8e1fd241a458589a34a1ede87d0a3fb 100644 (file)
@@ -8,7 +8,7 @@
 
 
 
-local hosts = hosts;
+local hosts = prosody.hosts;
 local tostring, pairs, getmetatable, newproxy, setmetatable
     = tostring, pairs, getmetatable, newproxy, setmetatable;