aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-28 00:56:30 +0200
committerKim Alvefur <zash@zash.se>2019-05-28 00:56:30 +0200
commit411d4c02a1315eb778e2ee5613723b74b6cfd00d (patch)
tree1ca47dc848f3a9e73f7630e0432c93b19d40982f /plugins/mod_storage_sql.lua
parenta52c045f4a8b7e11eac9b6ba4cf72e0a920594e5 (diff)
downloadprosody-411d4c02a1315eb778e2ee5613723b74b6cfd00d.tar.gz
prosody-411d4c02a1315eb778e2ee5613723b74b6cfd00d.zip
mod_storage_sql: Ignore shadowed error variable [luacheck]
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index ad2de840..518e2654 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -153,7 +153,7 @@ end
local archive_item_limit = module:get_option_number("storage_archive_item_limit");
local archive_item_count_cache = cache.new(module:get_option("storage_archive_item_limit_cache_size", 1000));
--- luacheck: ignore 512 431/user 431/store
+-- luacheck: ignore 512 431/user 431/store 431/err
local map_store = {};
map_store.__index = map_store;
map_store.remove = {};