# HG changeset patch # User Kim Alvefur # Date 1491068720 -7200 # Node ID 58d6c2ab3d16406ba6f87ebba60152e05f4a862f # Parent 149553feb04e2874c7eb46a4a7006d167be53379 mod_storage_sql: Ignore name clash [luacheck] diff -r 149553feb04e -r 58d6c2ab3d16 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Sat Apr 01 19:39:20 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:45:20 2017 +0200 @@ -515,7 +515,7 @@ 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