Software /
code /
prosody-modules
Changeset
2650:fef067b57305
mod_http_upload: Fix typo in variable name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2017 23:08:14 +0200 |
parents | 2649:abea818eed7b |
children | 2651:2b741e68433b |
files | mod_http_upload/mod_http_upload.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Sun Mar 26 23:07:16 2017 +0200 +++ b/mod_http_upload/mod_http_upload.lua Sun Mar 26 23:08:14 2017 +0200 @@ -100,7 +100,7 @@ local random_dir; repeat random_dir = uuid(); until lfs.mkdir(join_path(storage_path, random_dir)) - or not lfs.attributes(join_path(storage_path, random_dir, filenams)) + or not lfs.attributes(join_path(storage_path, random_dir, filename)) datamanager.list_append(origin.username, origin.host, module.name, { filename = join_path(storage_path, random_dir, filename), size = filesize, time = os.time() });