# HG changeset patch # User Matthew Wild # Date 1247601847 -3600 # Node ID c6646e806d18e1da1bfcc626ffd5ec02e1bdaf47 # Parent 03f89de65d9f6111fd26366bb0cc84fe37f69e55 mod_bosh: Update to use new new_from_config() diff -r 03f89de65d9f -r c6646e806d18 plugins/mod_bosh.lua --- 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);