aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 19:45:47 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 19:45:47 +0200
commitdd86b147bf0e4a6a606b2c4c1b3896776e81d98e (patch)
tree3d45e401be3cc48f5e030f140571cf3ffb505f79
parentee705afbefd752e4d0aa726d0b045b9145a4f581 (diff)
downloadprosody-dd86b147bf0e4a6a606b2c4c1b3896776e81d98e.tar.gz
prosody-dd86b147bf0e4a6a606b2c4c1b3896776e81d98e.zip
mod_storage_sql: Ignore name clash [luacheck]
-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 56d91dc6..da0f471c 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -567,7 +567,7 @@ function module.command(arg)
if command == "upgrade" then
-- We need to find every unique dburi in the config
local uris = {};
- for host in pairs(prosody.hosts) do
+ for host in pairs(prosody.hosts) do -- luacheck: ignore 431/host
local params = normalize_params(config.get(host, "sql") or default_params);
uris[sql.db2uri(params)] = params;
end