Wed, 22 Apr 2009 21:33:44 +0100
stanzarouter: Make _G.hosts local
core/stanza_router.lua | file | annotate | diff | comparison | revisions |
--- a/core/stanza_router.lua Wed Apr 22 21:32:23 2009 +0100 +++ b/core/stanza_router.lua Wed Apr 22 21:33:44 2009 +0100 @@ -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;