Software /
code /
prosody
Diff
core/stanza_router.lua @ 1043:ad87f555b484
stanzarouter: Make _G.hosts local
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Apr 2009 21:33:44 +0100 |
parent | 1011:beb039827c9f |
child | 1142:0e02b3301e80 |
line wrap: on
line diff
--- 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;