diff options
author | Kim Alvefur <zash@zash.se> | 2017-01-23 19:31:03 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-01-23 19:31:03 +0100 |
commit | e9adaa506eb9828c9d193fb63ff91e0a68b75831 (patch) | |
tree | ca87b5218228c0066edc77a99334fd90d49ba681 | |
parent | 30f3ab68e070a0d1065ba6b59fd9bdd9aa07bdea (diff) | |
download | prosody-e9adaa506eb9828c9d193fb63ff91e0a68b75831.tar.gz prosody-e9adaa506eb9828c9d193fb63ff91e0a68b75831.zip |
mod_mam: Remove unused variables [luacheck]
-rw-r--r-- | plugins/mod_mam/fallback_archive.lib.lua | 1 |
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; |