Software /
code /
prosody
Comparison
plugins/mod_storage_sql.lua @ 7753:c276d72d4e17
mod_storage_sql: Include missing parameter table key 'port'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 01 Dec 2016 03:22:42 +0100 |
parent | 7752:56abe6a8e761 |
child | 7755:19aa9b1ef9e8 |
comparison
equal
deleted
inserted
replaced
7752:56abe6a8e761 | 7753:c276d72d4e17 |
---|---|
445 driver = assert(params.driver, "Configuration error: Both the SQL driver and the database need to be specified"); | 445 driver = assert(params.driver, "Configuration error: Both the SQL driver and the database need to be specified"); |
446 database = assert(normalize_database(params.driver, params.database), "Configuration error: Both the SQL driver and the database need to be specified"); | 446 database = assert(normalize_database(params.driver, params.database), "Configuration error: Both the SQL driver and the database need to be specified"); |
447 username = params.username; | 447 username = params.username; |
448 password = params.password; | 448 password = params.password; |
449 host = params.host; | 449 host = params.host; |
450 params.port; | 450 port = params.port; |
451 }; | 451 }; |
452 end | 452 end |
453 | 453 |
454 function module.load() | 454 function module.load() |
455 if prosody.prosodyctl then return; end | 455 if prosody.prosodyctl then return; end |