# HG changeset patch
# User Tobias Markmann <tm@ayena.de>
# Date 1259697582 -3600
# Node ID c6bed51c673310b92c32fe7bd85c14c47651fba0
# Parent  ef7027a0f0c92d554f6cc2637de040833d14a8ea
mod_compression: Some comment clean up.

diff -r ef7027a0f0c9 -r c6bed51c6733 plugins/mod_compression.lua
--- a/plugins/mod_compression.lua	Tue Dec 01 20:55:32 2009 +0100
+++ b/plugins/mod_compression.lua	Tue Dec 01 20:59:42 2009 +0100
@@ -44,7 +44,7 @@
 		end
 );
 
--- S2Sout handling aka the client perspective in the S2S connection
+-- Hook to activate compression if remote server supports it.
 module:hook_stanza(xmlns_stream, "features",
 		function (session, stanza)
 			if not session.compressed then
@@ -135,7 +135,6 @@
 		end;
 end
 
--- TODO Support compression on S2S level too.
 module:add_handler({"s2sout_unauthed", "s2sout"}, "compressed", xmlns_compression_protocol, 
 		function(session ,stanza)
 			session.log("debug", "Activating compression...")