aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-03 00:56:45 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-03 00:56:45 +0100
commit0c362cbf8d1978d38e680db1538582c851b920c8 (patch)
treee2035be41788bed35f1a9c1c16e95e816d32ec1f /plugins
parent6265a85de2055048bf60ae8e598d1667ebf660c7 (diff)
downloadprosody-0c362cbf8d1978d38e680db1538582c851b920c8.tar.gz
prosody-0c362cbf8d1978d38e680db1538582c851b920c8.zip
mod_bosh: Update to use new httpserver.new_from_config syntax
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
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);