Software /
code /
prosody
Diff
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 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Tue Jul 14 21:03:30 2009 +0100 +++ b/plugins/mod_bosh.lua Tue Jul 14 21:04:07 2009 +0100 @@ -276,6 +276,6 @@ end local ports = config.get(module.host, "core", "bosh_ports") or { 5280 }; -httpserver.new_from_config(ports, handle_request); +httpserver.new_from_config(ports, "http-bind", handle_request); server.addtimer(on_timer);