From 217450a7270d70cde4216058a7c3fadac83bfbb0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 27 Jan 2021 23:38:14 +0100 Subject: mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion) --- plugins/mod_http_file_share.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index 477252db..6b9ccace 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -51,8 +51,8 @@ local upload_errors = errors.init(module.name, namespace, { filetype = { type = "modify"; condition = "not-acceptable"; text = "File type not allowed" }; 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"; } }); -- Convenience wrapper for logging file sizes -- cgit v1.2.3