aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-27 23:38:14 +0100
committerKim Alvefur <zash@zash.se>2021-01-27 23:38:14 +0100
commitf60a7d5f55fd6b4df74e4edd0a7f211c07761c46 (patch)
tree4c2c5eaedc31b35284154331ecf3f8fc4e5e2eab
parent7b01925b092fa420cb1e5e2629c0b1ce854e8b77 (diff)
downloadprosody-f60a7d5f55fd6b4df74e4edd0a7f211c07761c46.tar.gz
prosody-f60a7d5f55fd6b4df74e4edd0a7f211c07761c46.zip
mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion)
-rw-r--r--plugins/mod_http_file_share.lua2
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