mod_bosh: Update to use new new_from_config()

This commit is contained in:
Matthew Wild 2009-07-14 21:04:07 +01:00
parent cef5dd4ef6
commit f498cea754

View file

@ -276,6 +276,6 @@ function on_timer()
end end
local ports = config.get(module.host, "core", "bosh_ports") or { 5280 }; 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); server.addtimer(on_timer);