diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-03 00:59:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-03 00:59:44 +0200 |
commit | 8962d239ed6f606d2808c4fddae80553bc391107 (patch) | |
tree | 83d383d2fd52f09519e7ba1f11a1f8804f4d78da /plugins | |
parent | b20964f83264e0f01132fcb09723e28c65f73fab (diff) | |
parent | 32e5f2919265287d5b3a98855482459ad7075fd3 (diff) | |
download | prosody-8962d239ed6f606d2808c4fddae80553bc391107.tar.gz prosody-8962d239ed6f606d2808c4fddae80553bc391107.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index 3f3e5e16..0fe4194a 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -95,7 +95,7 @@ local function keyval_store_set(data) 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 |