diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-01 19:45:37 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-01 19:45:37 +0200 |
commit | a86ffc04a88cafae84867904a5680729313e60d3 (patch) | |
tree | 37798084ea0ea1e698ad603cd4fd042f4d881999 /plugins/mod_storage_sql.lua | |
parent | 434234187c2c5a2e3945986491e8add5b23659c0 (diff) | |
download | prosody-a86ffc04a88cafae84867904a5680729313e60d3.tar.gz prosody-a86ffc04a88cafae84867904a5680729313e60d3.zip |
mod_storage_sql: Split long lines [luacheck]
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r-- | plugins/mod_storage_sql.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index 0ca0512f..56d91dc6 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -524,8 +524,10 @@ end 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; |