Mercurial > prosody-modules
changeset 3369:fca95f1b8870
mod_http_upload: Fix order of arguments to :measure
The docs are wrong tho.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Nov 2018 14:44:11 +0100 |
parents | 76fc915647ab |
children | c414a7e884b3 |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Sun Nov 04 18:38:06 2018 +0100 +++ b/mod_http_upload/mod_http_upload.lua Tue Nov 06 14:44:11 2018 +0100 @@ -113,7 +113,7 @@ if module.measure then -- COMPAT 0.9 -- module:measure was added in 0.10 - measure_slot = module:measure("sizes", "slot"); + measure_slot = module:measure("slot", "sizes"); end local function handle_request(origin, stanza, xmlns, filename, filesize) @@ -226,7 +226,7 @@ if module.measure then -- COMPAT 0.9 -- module:measure was added in 0.10 - measure_upload = module:measure("sizes", "upload"); + measure_upload = module:measure("upload", "sizes"); end -- http service