aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-19 03:57:19 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-19 03:57:19 +0000
commit81222a41d407743675728501d477578f511ed4a7 (patch)
tree2bd3641b654bf01621a619273233a1141b6dd843 /plugins
parent70e57250c8f3f6b43100becaace0821a6595b2c8 (diff)
downloadprosody-81222a41d407743675728501d477578f511ed4a7.tar.gz
prosody-81222a41d407743675728501d477578f511ed4a7.zip
mod_bosh: Update for new xmlhandlers 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 bc31b3a1..60e2db34 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -23,7 +23,7 @@ local logger = require "util.logger";
local log = logger.init("mod_bosh");
local xmlns_bosh = "http://jabber.org/protocol/httpbind"; -- (hard-coded into a literal in session.send)
-local stream_callbacks = { stream_tag = "http://jabber.org/protocol/httpbind\1body", default_ns = xmlns_bosh };
+local stream_callbacks = { stream_ns = "http://jabber.org/protocol/httpbind", stream_tag = "body", default_ns = xmlns_bosh };
local BOSH_DEFAULT_HOLD = tonumber(module:get_option("bosh_default_hold")) or 1;
local BOSH_DEFAULT_INACTIVITY = tonumber(module:get_option("bosh_max_inactivity")) or 60;