Software /
code /
prosody
Changeset
8051:b2681397bafa
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 03 Apr 2017 00:59:44 +0200 |
parents | 8049:0909de054b3f (current diff) 8050:c0f81dea4662 (diff) |
children | 8060:71bdfdf6565d |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Sun Apr 02 23:06:27 2017 +0200 +++ b/plugins/mod_storage_sql.lua Mon Apr 03 00:59:44 2017 +0200 @@ -95,7 +95,7 @@ for key, value in pairs(data) do if type(key) == "string" and key ~= "" then local t, encoded_value = assert(serialize(value)); - engine:insert(delete_sql, host, user or "", store, key, t, encoded_value); + engine:insert(insert_sql, host, user or "", store, key, t, encoded_value); else extradata[key] = value; end