# HG changeset patch # User Kim Alvefur # Date 1454426566 -3600 # Node ID a85b5c3791dc4609634bcdc7f88e79a51d7f678b # Parent 632aa9f49aede242e0631c55125f2952fcdbdd7f mod_storage_xmlarchive: Collect return value when adding to date index diff -r 632aa9f49aed -r a85b5c3791dc mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue Feb 02 16:20:06 2016 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue Feb 02 16:22:46 2016 +0100 @@ -40,7 +40,7 @@ if offset == 0 then -- means the message is at the beginnig of the file, so it's a new day -- so we add this new day to the "index" - dm.list_append(username, module.host, self.store, day); + ok, err = dm.list_append(username, module.host, self.store, day); end if not ok then return nil, err;