aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_compression.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_compression.lua')
-rw-r--r--plugins/mod_compression.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index e35430fd..bdecf467 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -43,6 +43,7 @@ module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protoc
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