Changeset

1043:ad87f555b484

stanzarouter: Make _G.hosts local
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Apr 2009 21:33:44 +0100
parents 1042:a3d77353c18a
children 1044:41a0c76127f4
files core/stanza_router.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;