diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-22 21:33:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-22 21:33:44 +0100 |
commit | df7b92f654d5abf200e586a10a30a943e64b1042 (patch) | |
tree | 89045a59d77451263a0f087de0d9f64642b9eb0f /core/stanza_router.lua | |
parent | ca9a9eb85ebb918983c845813c22c0e6d2464aa6 (diff) | |
download | prosody-df7b92f654d5abf200e586a10a30a943e64b1042.tar.gz prosody-df7b92f654d5abf200e586a10a30a943e64b1042.zip |
stanzarouter: Make _G.hosts local
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r-- | core/stanza_router.lua | 2 |
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; |