diff options
author | Kim Alvefur <zash@zash.se> | 2015-07-05 18:00:05 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-07-05 18:00:05 +0200 |
commit | 31895cd45fbb41608ae19a3c02013d5ee5263f38 (patch) | |
tree | ffbe134470891e53fe689b44843c22b48c6b680b /plugins/mod_storage_sql2.lua | |
parent | 21aa02fd1b769ae89fccfd2cd84756f918e2f152 (diff) | |
parent | 3dd49f5620ef6860767fee2904399a77e242e10e (diff) | |
download | prosody-31895cd45fbb41608ae19a3c02013d5ee5263f38.tar.gz prosody-31895cd45fbb41608ae19a3c02013d5ee5263f38.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_storage_sql2.lua')
-rw-r--r-- | plugins/mod_storage_sql2.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index 9a9e6061..1702108c 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -413,10 +413,10 @@ local function upgrade_table(params, apply_changes) end local function normalize_params(params) - assert(params.driver and params.database, "Configuration error: Both the SQL driver and the database need to be specified"); if params.driver == "SQLite3" then params.database = resolve_relative_path(prosody.paths.data or ".", params.database or "prosody.sqlite"); end + assert(params.driver and params.database, "Configuration error: Both the SQL driver and the database need to be specified"); return params; end |