Mercurial > prosody-hg
diff plugins/mod_bosh.lua @ 1042:a3d77353c18a
mod_*: Fix a load of global accesses
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 22 Apr 2009 21:32:23 +0100 |
| parents | 84202314ab7f |
| children | 9552c08241af |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Wed Apr 22 20:52:27 2009 +0100 +++ b/plugins/mod_bosh.lua Wed Apr 22 21:32:23 2009 +0100 @@ -1,6 +1,7 @@ module.host = "*" -- Global module +local hosts = _G.hosts; local lxp = require "lxp"; local init_xmlhandlers = require "core.xmlhandlers" local server = require "net.server";
