mod_bosh: Update to use new new_from_config()
authorMatthew Wild <mwild1@gmail.com>
Tue, 14 Jul 2009 20:04:07 +0000 (21:04 +0100)
committerMatthew Wild <mwild1@gmail.com>
Tue, 14 Jul 2009 20:04:07 +0000 (21:04 +0100)
plugins/mod_bosh.lua

index fdda206b479f31c0d7805129fafa305bd5c2e799..744893c44a4a84688bd1020989231ddf8a6836f3 100644 (file)
@@ -276,6 +276,6 @@ function on_timer()
 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);