diff plugins/mod_mam/fallback_archive.lib.lua @ 7854:68c5476960be

mod_mam: Remove unused variables [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Jan 2017 19:31:03 +0100
parents 80ee0d9cd56f
children
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;