Software / code / prosody
Comparison
plugins/mod_bosh.lua @ 4684:dc70c4ffb66d
Merge timber->trunk - thanks everyone!
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 24 Apr 2012 21:59:20 +0100 |
| parent | 4527:d00f31470fcf |
| parent | 4623:403b56b78018 |
| child | 4690:55f690fdc915 |
comparison
equal
deleted
inserted
replaced
| 4529:12621337471f | 4684:dc70c4ffb66d |
|---|---|
| 4 -- | 4 -- |
| 5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 module.host = "*" -- Global module | 9 module:set_global(); -- Global module |
| 10 | 10 |
| 11 local hosts = _G.hosts; | 11 local hosts = _G.hosts; |
| 12 local new_xmpp_stream = require "util.xmppstream".new; | 12 local new_xmpp_stream = require "util.xmppstream".new; |
| 13 local httpserver = require "net.httpserver"; | 13 local httpserver = require "net.httpserver"; |
| 14 local sm = require "core.sessionmanager"; | 14 local sm = require "core.sessionmanager"; |