Software /
code /
prosody
Comparison
plugins/mod_compression.lua @ 1679:e2eb0eaf2544
Remove print which was used for debugging purposes.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Thu, 13 Aug 2009 13:58:49 +0200 |
parent | 1678:79eb903d0e67 |
child | 1716:3f7fd1445d02 |
comparison
equal
deleted
inserted
replaced
1678:79eb903d0e67 | 1679:e2eb0eaf2544 |
---|---|
5 -- COPYING file in the source package for more information. | 5 -- COPYING file in the source package for more information. |
6 -- | 6 -- |
7 | 7 |
8 local st = require "util.stanza"; | 8 local st = require "util.stanza"; |
9 local zlib = require "zlib"; | 9 local zlib = require "zlib"; |
10 local print = print; | |
11 local pcall = pcall; | 10 local pcall = pcall; |
12 | 11 |
13 local xmlns_compression_feature = "http://jabber.org/features/compress" | 12 local xmlns_compression_feature = "http://jabber.org/features/compress" |
14 local xmlns_compression_protocol = "http://jabber.org/protocol/compress" | 13 local xmlns_compression_protocol = "http://jabber.org/protocol/compress" |
15 local compression_stream_feature = st.stanza("compression", {xmlns=xmlns_compression_feature}):tag("method"):text("zlib"):up(); | 14 local compression_stream_feature = st.stanza("compression", {xmlns=xmlns_compression_feature}):tag("method"):text("zlib"):up(); |