aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-14 21:04:07 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-14 21:04:07 +0100
commitf498cea75470f6b35070018f5b01f893cab36e0c (patch)
treefa834935a899423fc243f909827efec704b374dd /plugins/mod_bosh.lua
parentcef5dd4ef619ead81d1a13574d0502d0c92259b1 (diff)
downloadprosody-f498cea75470f6b35070018f5b01f893cab36e0c.tar.gz
prosody-f498cea75470f6b35070018f5b01f893cab36e0c.zip
mod_bosh: Update to use new new_from_config()
Diffstat (limited to 'plugins/mod_bosh.lua')
-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 fdda206b..744893c4 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -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);