aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-16 04:37:16 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-16 04:37:16 +0000
commit69bededafc0975871633cf37669d9082027a15ae (patch)
tree338d17fd0d95f626b367ba994959353284f7cc98 /plugins/mod_bosh.lua
parent71ae546e33b230992fbcb8cab754a01ea4b151a3 (diff)
downloadprosody-69bededafc0975871633cf37669d9082027a15ae.tar.gz
prosody-69bededafc0975871633cf37669d9082027a15ae.zip
Replacing pretty_print() with top_tag() for logging
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 b5951e96..223fe2ba 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -213,7 +213,7 @@ function stream_callbacks.streamopened(request, attr)
end
function stream_callbacks.handlestanza(request, stanza)
- log("debug", "BOSH stanza received: %s\n", stanza:pretty_print());
+ log("debug", "BOSH stanza received: %s\n", stanza:top_tag());
local session = sessions[request.sid];
if session then
if stanza.attr.xmlns == xmlns_bosh then