aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-22 21:33:44 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-22 21:33:44 +0100
commitdf7b92f654d5abf200e586a10a30a943e64b1042 (patch)
tree89045a59d77451263a0f087de0d9f64642b9eb0f /core
parentca9a9eb85ebb918983c845813c22c0e6d2464aa6 (diff)
downloadprosody-df7b92f654d5abf200e586a10a30a943e64b1042.tar.gz
prosody-df7b92f654d5abf200e586a10a30a943e64b1042.zip
stanzarouter: Make _G.hosts local
Diffstat (limited to 'core')
-rw-r--r--core/stanza_router.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index f5a19307..80b51cc6 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -10,6 +10,8 @@
local log = require "util.logger".init("stanzarouter")
+local hosts = _G.hosts;
+
local st = require "util.stanza";
local send_s2s = require "core.s2smanager".send_to_host;
local user_exists = require "core.usermanager".user_exists;