mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
mod_storage_sql: Ignore name clash [luacheck]
This commit is contained in:
parent
29c30180ee
commit
d5205416d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue