aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-01-23 19:31:03 +0100
committerKim Alvefur <zash@zash.se>2017-01-23 19:31:03 +0100
commit9f5d98c28311f7fa1b5dd65fcba560d3d8349ac4 (patch)
treeca87b5218228c0066edc77a99334fd90d49ba681 /plugins/mod_mam
parentbec4571527a97d0a2b2954db29ce96d8fe0efe35 (diff)
downloadprosody-9f5d98c28311f7fa1b5dd65fcba560d3d8349ac4.tar.gz
prosody-9f5d98c28311f7fa1b5dd65fcba560d3d8349ac4.zip
mod_mam: Remove unused variables [luacheck]
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r--plugins/mod_mam/fallback_archive.lib.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_mam/fallback_archive.lib.lua b/plugins/mod_mam/fallback_archive.lib.lua
index 975f99b3..71e65274 100644
--- a/plugins/mod_mam/fallback_archive.lib.lua
+++ b/plugins/mod_mam/fallback_archive.lib.lua
@@ -73,7 +73,6 @@ function archive_store:delete(username, query)
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;