From 69bededafc0975871633cf37669d9082027a15ae Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 16 Jan 2009 04:37:16 +0000 Subject: Replacing pretty_print() with top_tag() for logging --- plugins/mod_bosh.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3