From 0c362cbf8d1978d38e680db1538582c851b920c8 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 3 Oct 2009 00:56:45 +0100 Subject: mod_bosh: Update to use new httpserver.new_from_config syntax --- plugins/mod_bosh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_bosh.lua') diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 0dd4a192..fddd5c11 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -298,6 +298,6 @@ function on_timer() end local ports = module:get_option("bosh_ports") or { 5280 }; -httpserver.new_from_config(ports, "http-bind", handle_request); +httpserver.new_from_config(ports, handle_request, { base = "http-bind" }); server.addtimer(on_timer); -- cgit v1.2.3