--- a/plugins/mod_compression.lua Tue Mar 09 17:52:18 2010 +0500 +++ b/plugins/mod_compression.lua Tue Mar 09 18:11:45 2010 +0500 @@ -43,6 +43,7 @@ local error_st = st.stanza("failure", {xmlns=xmlns_compression_protocol}):tag("unsupported-method"); session.send(error_st); session.log("warn", "Tried to establish another compression layer."); + return; end -- checking if the compression method is supported