# HG changeset patch # User Waqas Hussain # Date 1251901326 -18000 # Node ID cb4c94b47d5343f48829fb0dc944bfb9053d1ad5 # Parent cbdc7bf61e0f9ec52cb71ab100446ffa9cae37a8 mod_compression: Fixed: Starting compression only worked before auth diff -r cbdc7bf61e0f -r cb4c94b47d53 plugins/mod_compression.lua --- a/plugins/mod_compression.lua Thu Aug 20 16:30:32 2009 +0100 +++ b/plugins/mod_compression.lua Wed Sep 02 19:22:06 2009 +0500 @@ -35,7 +35,7 @@ ); -- TODO Support compression on S2S level too. -module:add_handler({"c2s_unauthed", "c2s_authed"}, "compress", xmlns_compression_protocol, +module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protocol, function(session, stanza) -- fail if we are already compressed if session.compressed then