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 | ee705afbefd752e4d0aa726d0b045b9145a4f581 (patch) | |
tree | 37798084ea0ea1e698ad603cd4fd042f4d881999 /plugins | |
parent | d5205416d5a586cccbf863fdea79d8f85b83a959 (diff) | |
download | prosody-ee705afbefd752e4d0aa726d0b045b9145a4f581.tar.gz prosody-ee705afbefd752e4d0aa726d0b045b9145a4f581.zip |
mod_storage_sql: Split long lines [luacheck]
Diffstat (limited to 'plugins')
-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; |