Changeset

2820:f3a09a559201

mod_storage_muc_log: Trim trailing whitespace [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 15 Nov 2017 16:21:18 +0100
parents 2819:9ffb059c9ba5
children 2821:e8f0acfdccca
files mod_storage_muc_log/mod_storage_muc_log.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_muc_log/mod_storage_muc_log.lua	Tue Oct 17 12:42:20 2017 +0200
+++ b/mod_storage_muc_log/mod_storage_muc_log.lua	Wed Nov 15 16:21:18 2017 +0100
@@ -103,7 +103,7 @@
 		local today, time, data, err, item;
 		local inner_start, inner_stop, inner_step;
 		local outer_start, outer_stop, outer_step = 1, #dates, 1;
-		if query and query.reverse then 
+		if query and query.reverse then
 			outer_start, outer_stop, outer_step = outer_stop, outer_start, -outer_step;
 			seek_once = query.before;
 			if seek_once then
@@ -119,7 +119,7 @@
 				data, err = data_load(node, host, datastore .. "/" .. today);
 				if data then
 					inner_start, inner_stop, inner_step = 1, #data, 1;
-					if query and query.reverse then 
+					if query and query.reverse then
 						inner_start, inner_stop, inner_step = inner_stop, inner_start, -inner_step;
 					end
 					if seek_once then