aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 19:45:37 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 19:45:37 +0200
commita86ffc04a88cafae84867904a5680729313e60d3 (patch)
tree37798084ea0ea1e698ad603cd4fd042f4d881999 /plugins
parent434234187c2c5a2e3945986491e8add5b23659c0 (diff)
downloadprosody-a86ffc04a88cafae84867904a5680729313e60d3.tar.gz
prosody-a86ffc04a88cafae84867904a5680729313e60d3.zip
mod_storage_sql: Split long lines [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_sql.lua6
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;