Software /
code /
prosody
Comparison
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 |
parent | 947:84202314ab7f |
child | 1050:9552c08241af |
comparison
equal
deleted
inserted
replaced
1041:07835534d996 | 1042:a3d77353c18a |
---|---|
1 | 1 |
2 module.host = "*" -- Global module | 2 module.host = "*" -- Global module |
3 | 3 |
4 local hosts = _G.hosts; | |
4 local lxp = require "lxp"; | 5 local lxp = require "lxp"; |
5 local init_xmlhandlers = require "core.xmlhandlers" | 6 local init_xmlhandlers = require "core.xmlhandlers" |
6 local server = require "net.server"; | 7 local server = require "net.server"; |
7 local httpserver = require "net.httpserver"; | 8 local httpserver = require "net.httpserver"; |
8 local sm = require "core.sessionmanager"; | 9 local sm = require "core.sessionmanager"; |