diff options
author | Tobias Markmann <tm@ayena.de> | 2009-08-13 12:05:33 +0200 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-08-13 12:05:33 +0200 |
commit | e3c4ddef05144b910301356b82cb304a40f19f17 (patch) | |
tree | 72c1782020c80efbdb77828fd358904284ad265a | |
parent | 07f9296e47efa855976bfff40b99b9bddf9edb86 (diff) | |
download | prosody-e3c4ddef05144b910301356b82cb304a40f19f17.tar.gz prosody-e3c4ddef05144b910301356b82cb304a40f19f17.zip |
Forgot to use the configured compression_level. Now it's used.
-rw-r--r-- | plugins/mod_compression.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index 660d9052..46d2d087 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -45,7 +45,7 @@ module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol, session:reset_stream(); -- create deflate and inflate streams - local deflate_stream = zlib.deflate(9); + local deflate_stream = zlib.deflate(compression_level); local inflate_stream = zlib.inflate(); -- setup compression for session.w |