Changeset

2600:9ec8289f6bb2

mod_storage_xmlarchive: Break long line [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 00:51:28 +0100
parents 2599:98b9b9ded29a
children 2601:ba5757dc883d
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Mon Mar 06 00:46:07 2017 +0100
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Mon Mar 06 00:51:28 2017 +0100
@@ -48,7 +48,8 @@
 	local offset = ok and err or 0;
 
 	local id = day .. "-" .. hmac_sha256(username.."@"..day.."+"..offset, data, true):sub(-16);
-	ok, err = dm.list_append(username.."@"..day, module.host, self.store, { id = id, when = dt.datetime(when), with = with, offset = offset, length = #data });
+	ok, err = dm.list_append(username.."@"..day, module.host, self.store,
+		{ id = id, when = dt.datetime(when), with = with, offset = offset, length = #data });
 	if ok and first_of_day then
 		ok, err = dm.list_append(username, module.host, self.store, day);
 	end