mod_bosh: Update to use new new_from_config()

Tue, 14 Jul 2009 21:04:07 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 14 Jul 2009 21:04:07 +0100
changeset 1551
c6646e806d18
parent 1550
03f89de65d9f
child 1552
334b66f614a6

mod_bosh: Update to use new new_from_config()

plugins/mod_bosh.lua file | annotate | diff | comparison | revisions
--- 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);

mercurial