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
commit6eff9f6d5a2a72040f663b4b194d3c54af4cf2e8 (patch)
tree3d45e401be3cc48f5e030f140571cf3ffb505f79
parenta86ffc04a88cafae84867904a5680729313e60d3 (diff)
downloadprosody-6eff9f6d5a2a72040f663b4b194d3c54af4cf2e8.tar.gz
prosody-6eff9f6d5a2a72040f663b4b194d3c54af4cf2e8.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