Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 1551:c6646e806d18
mod_bosh: Update to use new new_from_config()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 14 Jul 2009 21:04:07 +0100 |
parent | 1541:591732da1306 |
child | 1633:7812459eeed7 |
comparison
equal
deleted
inserted
replaced
1550:03f89de65d9f | 1551:c6646e806d18 |
---|---|
274 end | 274 end |
275 end | 275 end |
276 end | 276 end |
277 | 277 |
278 local ports = config.get(module.host, "core", "bosh_ports") or { 5280 }; | 278 local ports = config.get(module.host, "core", "bosh_ports") or { 5280 }; |
279 httpserver.new_from_config(ports, handle_request); | 279 httpserver.new_from_config(ports, "http-bind", handle_request); |
280 | 280 |
281 server.addtimer(on_timer); | 281 server.addtimer(on_timer); |