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
commitd5205416d5a586cccbf863fdea79d8f85b83a959 (patch)
tree2acf377aed01898dd2ad0be73d2565f3a29190dd
parent29c30180ee535df52089db53287bdfa8b0c8e61b (diff)
downloadprosody-d5205416d5a586cccbf863fdea79d8f85b83a959.tar.gz
prosody-d5205416d5a586cccbf863fdea79d8f85b83a959.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