aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_compression.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-08-12 20:09:07 +0200
committerTobias Markmann <tm@ayena.de>2009-08-12 20:09:07 +0200
commit7e7a5ab0897aeab8eee3d09950f6238b5cbbf4f8 (patch)
tree515632eebaf91ad8b452549e038ed6a9ad8da761 /plugins/mod_compression.lua
parent2a6728cb478ac50e23202a8a7f04344f8bdd372c (diff)
downloadprosody-7e7a5ab0897aeab8eee3d09950f6238b5cbbf4f8.tar.gz
prosody-7e7a5ab0897aeab8eee3d09950f6238b5cbbf4f8.zip
Remove unwanted spaces.
Diffstat (limited to 'plugins/mod_compression.lua')
-rw-r--r--plugins/mod_compression.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index 4b898833..d5df2578 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -13,13 +13,13 @@ local xmlns_compression_protocol = "http://jabber.org/protocol/compress"
local compression_stream_feature = st.stanza("compression", {xmlns=xmlns_compression_feature}):tag("method"):text("zlib"):up();
-module:add_event_hook("stream-features",
+module:add_event_hook("stream-features",
function (session, features)
features:add_child(compression_stream_feature);
end
);
-module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol,
+module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol,
function(session, stanza)
-- checking if the compression method is supported
local method = stanza:child_with_name("method")[1];