Changeset

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
parents 1550:03f89de65d9f
children 1552:334b66f614a6
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);