aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 19:45:20 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 19:45:20 +0200
commit434234187c2c5a2e3945986491e8add5b23659c0 (patch)
tree2acf377aed01898dd2ad0be73d2565f3a29190dd
parent119d7900b549af8006f6bb9f245d7082e7b75cfc (diff)
downloadprosody-434234187c2c5a2e3945986491e8add5b23659c0.tar.gz
prosody-434234187c2c5a2e3945986491e8add5b23659c0.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 b6b71138..0ca0512f 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -515,7 +515,7 @@ local function upgrade_table(engine, params, apply_changes) -- luacheck: ignore
return changes;
end
-local function normalize_database(driver, database)
+local function normalize_database(driver, database) -- luacheck: ignore 431/driver
if driver == "SQLite3" and database ~= ":memory:" then
return resolve_relative_path(prosody.paths.data or ".", database or "prosody.sqlite");
end