diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-03-09 18:11:45 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-03-09 18:11:45 +0500 |
commit | b01e95ae145a66dd28529e4891bc244bb70ca584 (patch) | |
tree | 3f5db4c1ba0d14d80276cad73ea1c9c573802c3e /plugins | |
parent | 84ece3aca6b0d76a307acb47a4d0fc89c5eb3437 (diff) | |
download | prosody-b01e95ae145a66dd28529e4891bc244bb70ca584.tar.gz prosody-b01e95ae145a66dd28529e4891bc244bb70ca584.zip |
mod_compression: Don't succeed after indicating a failure.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_compression.lua | 1 |
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 |