diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-27 23:38:14 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-27 23:38:14 +0100 |
commit | 217450a7270d70cde4216058a7c3fadac83bfbb0 (patch) | |
tree | 4c2c5eaedc31b35284154331ecf3f8fc4e5e2eab | |
parent | 2cff8727c77948d6453474e8fb02e33d42d795d0 (diff) | |
download | prosody-217450a7270d70cde4216058a7c3fadac83bfbb0.tar.gz prosody-217450a7270d70cde4216058a7c3fadac83bfbb0.zip |
mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion)
-rw-r--r-- | plugins/mod_http_file_share.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |