Comparison

plugins/mod_storage_sql.lua @ 8035:58d6c2ab3d16

mod_storage_sql: Ignore name clash [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 19:45:20 +0200
parent 8034:149553feb04e
child 8036:7ebaefc88b3d
comparison
equal deleted inserted replaced
8034:149553feb04e 8035:58d6c2ab3d16
513 end 513 end
514 end 514 end
515 return changes; 515 return changes;
516 end 516 end
517 517
518 local function normalize_database(driver, database) 518 local function normalize_database(driver, database) -- luacheck: ignore 431/driver
519 if driver == "SQLite3" and database ~= ":memory:" then 519 if driver == "SQLite3" and database ~= ":memory:" then
520 return resolve_relative_path(prosody.paths.data or ".", database or "prosody.sqlite"); 520 return resolve_relative_path(prosody.paths.data or ".", database or "prosody.sqlite");
521 end 521 end
522 return database; 522 return database;
523 end 523 end