comparison 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
comparison
equal deleted inserted replaced
7853:8c3de36568dd 7854:68c5476960be
71 return true; 71 return true;
72 end 72 end
73 local archive = store[username]; 73 local archive = store[username];
74 if not archive then return true; end -- no messages, nothing to delete 74 if not archive then return true; end -- no messages, nothing to delete
75 75
76 local start, stop, step = 1, archive[0] or #archive, 1;
77 local qstart = query.start or -math.huge; 76 local qstart = query.start or -math.huge;
78 local qend = query["end"] or math.huge; 77 local qend = query["end"] or math.huge;
79 local qwith = query.with; 78 local qwith = query.with;
80 store[username] = nil; 79 store[username] = nil;
81 for i = 1, #archive do 80 for i = 1, #archive do