Software /
code /
prosody
Changeset
8036:7ebaefc88b3d
mod_storage_sql: Split long lines [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Apr 2017 19:45:37 +0200 |
parents | 8035:58d6c2ab3d16 |
children | 8037:5a802653d50d |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Sat Apr 01 19:45:20 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:45:37 2017 +0200 @@ -524,8 +524,10 @@ local function normalize_params(params) return { - driver = assert(params.driver, "Configuration error: Both the SQL driver and the database need to be specified"); - database = assert(normalize_database(params.driver, params.database), "Configuration error: Both the SQL driver and the database need to be specified"); + driver = assert(params.driver, + "Configuration error: Both the SQL driver and the database need to be specified"); + database = assert(normalize_database(params.driver, params.database), + "Configuration error: Both the SQL driver and the database need to be specified"); username = params.username; password = params.password; host = params.host;