Diff

mod_mam/fallback_archive.lib.lua @ 2508:03f6d9ed2903

mod_mam/fallback_archive: Remove unused variables
author Kim Alvefur <zash@zash.se>
date Mon, 20 Feb 2017 00:05:48 +0100
parent 2023:98b4794b72e4
line wrap: on
line diff
--- 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;