Diff

plugins/mod_http_file_share.lua @ 11345:0fec04b64a49

mod_http_file_share: Add missing semicolon Last comma or semicolon isn't required but makes the diffs nicer once you add another item after it.
author Kim Alvefur <zash@zash.se>
date Sun, 31 Jan 2021 14:41:56 +0100
parent 11343:f125ac529c22
child 11346:315faec1a920
line wrap: on
line diff
--- a/plugins/mod_http_file_share.lua	Sat Jan 30 20:23:52 2021 +0100
+++ b/plugins/mod_http_file_share.lua	Sun Jan 31 14:41:56 2021 +0100
@@ -54,7 +54,7 @@
 	filesize = { type = "modify"; condition = "not-acceptable"; text = "File too large";
 		extra = {tag = st.stanza("file-too-large", {xmlns = namespace}):tag("max-file-size"):text(tostring(file_size_limit)) };
 	};
-	filesizefmt = { type = "modify"; condition = "bad-request"; text = "File size must be positive integer"; }
+	filesizefmt = { type = "modify"; condition = "bad-request"; text = "File size must be positive integer"; };
 });
 
 local upload_cache = cache.new(1024);