Software /
code /
prosody
Diff
plugins/mod_compression.lua @ 3540:bc139431830b
Monster whitespace commit (beware the whitespace monster).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 23:00:42 +0500 |
parent | 3532:4f2cd1c688e1 |
child | 4480:187ce118aea6 |
line wrap: on
line diff
--- a/plugins/mod_compression.lua Sat Oct 16 08:34:32 2010 +0500 +++ b/plugins/mod_compression.lua Sat Oct 16 23:00:42 2010 +0500 @@ -39,7 +39,7 @@ module:hook("s2s-stream-features", function(event) local origin, features = event.origin, event.features; -- FIXME only advertise compression support when TLS layer has no compression enabled - if not origin.compressed then + if not origin.compressed then features:add_child(compression_stream_feature); end end);