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
commit8767624de1e0125010103ed6d6c6bb160e6e2667 (patch)
tree604e43b2dbe2834d7be0312bb6ecc9b0cd96d246 /plugins/mod_http_file_share.lua
parentbde627da884a37860c8a1c8f7594bc4f3b496a24 (diff)
downloadprosody-8767624de1e0125010103ed6d6c6bb160e6e2667.tar.gz
prosody-8767624de1e0125010103ed6d6c6bb160e6e2667.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);