Software /
code /
prosody-modules
Changeset
3340:6081cbfd1220
mod_http_upload: Abort and throw error in case of failure to iterate over users
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Sep 2018 20:03:10 +0200 |
parents | 3339:babb584e24a2 |
children | 3341:1e1dbd7e5b6c |
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 Thu Sep 27 19:54:26 2018 +0200 +++ b/mod_http_upload/mod_http_upload.lua Thu Sep 27 20:03:10 2018 +0200 @@ -334,7 +334,7 @@ if user then assert(expire(user, host)); else - for user in datamanager.users(host, module.name, "list") do + for user in assert(datamanager.users(host, module.name, "list")) do expire(user, host); end end