Software /
code /
prosody-modules
Changeset
3361:bc745a60ce21
mod_storage_memory: Fix saving of remaining items during deletion
Backport of 368b092bf4bf from prosody trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 21 Oct 2018 17:49:39 +0200 |
parents | 3360:0149954cee37 |
children | 3362:af085e8b9d48 |
files | mod_storage_memory/mod_storage_memory.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_memory/mod_storage_memory.lua Sun Oct 21 15:19:58 2018 +0100 +++ b/mod_storage_memory/mod_storage_memory.lua Sun Oct 21 17:49:39 2018 +0200 @@ -128,7 +128,7 @@ i = old[i]; t = i.when; if not(qstart >= t and qend <= t and (not qwith or i.with == qwith)) then - self:append(username, i.key, i.value, t, i.with); + self:append(username, i.key, i.value(), t, i.with); end end if #new == 0 then