Changeset

8035:58d6c2ab3d16

mod_storage_sql: Ignore name clash [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 19:45:20 +0200
parents 8034:149553feb04e
children 8036:7ebaefc88b3d
files plugins/mod_storage_sql.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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