Mercurial > prosody-modules
diff mod_http_upload/mod_http_upload.lua @ 2476:024a4143baef
mod_http_upload: Add missing return statement
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 29 Jan 2017 19:14:47 +0100 |
parents | 54c42b097984 |
children | c32ca5ad2539 |
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua Sun Jan 29 18:12:43 2017 +0100 +++ b/mod_http_upload/mod_http_upload.lua Sun Jan 29 19:14:47 2017 +0100 @@ -19,7 +19,7 @@ local s_upper = string.upper; local function join_path(...) - table.concat({ ... }, package.config:sub(1,1)); + return table.concat({ ... }, package.config:sub(1,1)); end -- config