Changeset

7854:68c5476960be

mod_mam: Remove unused variables [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Jan 2017 19:31:03 +0100
parents 7853:8c3de36568dd
children 7855:e429982940fc
files plugins/mod_mam/fallback_archive.lib.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_mam/fallback_archive.lib.lua	Mon Jan 23 19:24:16 2017 +0100
+++ b/plugins/mod_mam/fallback_archive.lib.lua	Mon Jan 23 19:31:03 2017 +0100
@@ -73,7 +73,6 @@
 	local archive = store[username];
 	if not archive then return true; end -- no messages, nothing to delete
 
-	local start, stop, step = 1, archive[0] or #archive, 1;
 	local qstart = query.start or -math.huge;
 	local qend = query["end"] or math.huge;
 	local qwith = query.with;