aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_file_share.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-31 14:41:56 +0100
committerKim Alvefur <zash@zash.se>2021-01-31 14:41:56 +0100
commitb1b3f09a5c4216f0437c2d1aeace3f7dfd930534 (patch)
tree604e43b2dbe2834d7be0312bb6ecc9b0cd96d246 /plugins/mod_http_file_share.lua
parent4e7f5bd396324b097b36d663c62e069c98464e93 (diff)
downloadprosody-b1b3f09a5c4216f0437c2d1aeace3f7dfd930534.tar.gz
prosody-b1b3f09a5c4216f0437c2d1aeace3f7dfd930534.zip
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.
Diffstat (limited to 'plugins/mod_http_file_share.lua')
-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 cc64b0ff..9554b2f4 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -54,7 +54,7 @@ local upload_errors = errors.init(module.name, namespace, {
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);