Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
1042:a3d77353c18a | 1043:ad87f555b484 |
---|---|
7 -- | 7 -- |
8 | 8 |
9 | 9 |
10 | 10 |
11 local log = require "util.logger".init("stanzarouter") | 11 local log = require "util.logger".init("stanzarouter") |
12 | |
13 local hosts = _G.hosts; | |
12 | 14 |
13 local st = require "util.stanza"; | 15 local st = require "util.stanza"; |
14 local send_s2s = require "core.s2smanager".send_to_host; | 16 local send_s2s = require "core.s2smanager".send_to_host; |
15 local user_exists = require "core.usermanager".user_exists; | 17 local user_exists = require "core.usermanager".user_exists; |
16 | 18 |