# HG changeset patch # User Kim Alvefur # Date 1490909625 -7200 # Node ID 9e5015555fffcd6ff9efaac8996c2d89223a634c # Parent 96eabf8591a63baa88fca0ec1db41a0d9cef1632 mod_storage_memory: Fix to make archive:append() return the archive id as it should diff -r 96eabf8591a6 -r 9e5015555fff mod_storage_memory/mod_storage_memory.lua --- a/mod_storage_memory/mod_storage_memory.lua Thu Mar 30 21:12:14 2017 +0200 +++ b/mod_storage_memory/mod_storage_memory.lua Thu Mar 30 23:33:45 2017 +0200 @@ -86,7 +86,7 @@ end a[i] = v; a[key] = i; - return true; + return key; end local function archive_iter (a, start, stop, step, limit, when_start, when_end, match_with)