mod_mam/fallback_archive.lib.lua
changeset 2512 03f6d9ed2903
parent 2027 98b4794b72e4
--- a/mod_mam/fallback_archive.lib.lua	Mon Feb 20 00:05:14 2017 +0100
+++ b/mod_mam/fallback_archive.lib.lua	Mon Feb 20 00:05:48 2017 +0100
@@ -65,7 +65,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;