mod_storage_xmlarchive/mod_storage_xmlarchive.lua
changeset 2042 a85b5c3791dc
parent 1973 e63dba236a2a
child 2044 459e1878d23c
--- 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;