Software /
code /
prosody
Diff
plugins/mod_compression.lua @ 2293:abd28ed5d8b0
mod_compression: Removing trailing whitespace.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Tue, 01 Dec 2009 21:17:13 +0100 |
parent | 2292:9c5941198719 |
child | 2324:9f7eb1054a2f |
line wrap: on
line diff
--- a/plugins/mod_compression.lua Tue Dec 01 21:04:02 2009 +0100 +++ b/plugins/mod_compression.lua Tue Dec 01 21:17:13 2009 +0100 @@ -160,7 +160,7 @@ local default_stream_attr = {xmlns = "jabber:server", ["xmlns:stream"] = "http://etherx.jabber.org/streams", ["xmlns:db"] = 'jabber:server:dialback', version = "1.0", to = session.to_host, from = session.from_host}; session.sends2s("<?xml version='1.0'?>"); - session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag()); + session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag()); session.compressed = true; end );