# HG changeset patch # User Kim Alvefur # Date 1540136979 -7200 # Node ID bc745a60ce21c19b64623c42d33ef9e7aa602397 # Parent 0149954cee37b4eda47299810664baff2dbaf0c9 mod_storage_memory: Fix saving of remaining items during deletion Backport of 368b092bf4bf from prosody trunk diff -r 0149954cee37 -r bc745a60ce21 mod_storage_memory/mod_storage_memory.lua --- 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