From: Matthew Wild Date: Fri, 2 Oct 2009 23:56:45 +0000 (+0100) Subject: mod_bosh: Update to use new httpserver.new_from_config syntax X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=341ff2e4f93012f8418c95a2284f65b7255804af;p=prosody.git mod_bosh: Update to use new httpserver.new_from_config syntax --- 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);