From df7b92f654d5abf200e586a10a30a943e64b1042 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 22 Apr 2009 21:33:44 +0100 Subject: stanzarouter: Make _G.hosts local --- core/stanza_router.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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; -- cgit v1.2.3