Software /
code /
prosody-modules
Changeset
2807:2c3334131a7d
mod_firewall/test: Trim trailing whitespace [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Oct 2017 02:52:58 +0200 |
parents | 2806:93a4b13ca9f6 |
children | 2808:2cc02ee82e8c |
files | mod_firewall/test.lib.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/test.lib.lua Fri Oct 20 02:51:38 2017 +0200 +++ b/mod_firewall/test.lib.lua Fri Oct 20 02:52:58 2017 +0200 @@ -29,7 +29,7 @@ load_unload_scripts(set.new(arg)); local session = { notopen = true }; local stream_callbacks = { default_ns = "jabber:client" }; - + function stream_callbacks.streamopened(session) session.notopen = nil; end @@ -48,7 +48,7 @@ stats_dropped = stats_dropped + 1; end end - + local stream = xmppstream.new(session, stream_callbacks); stream:feed("<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>"); local line_count = 0; @@ -60,7 +60,7 @@ return 1; end end - + stderr("Summary"); stderr("-------"); stderr("");