From a212b9c43fc257b5d6a7ff0183910d988f78e78d Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 2 Sep 2009 19:22:06 +0500 Subject: mod_compression: Fixed: Starting compression only worked before auth --- plugins/mod_compression.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index 7e53a5e5..f1cae737 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -35,7 +35,7 @@ module:add_event_hook("stream-features", ); -- 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 -- cgit v1.2.3