Mercurial > prosody-modules
comparison mod_http_upload/mod_http_upload.lua @ 1914:b01d60dfa405
mod_http_upload: Add missing local of string.upper (Thanks Thilo)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 19 Oct 2015 17:08:45 +0200 |
parents | 24c22cbb86e4 |
children | ff95d983940c |
comparison
equal
deleted
inserted
replaced
1913:188c38c1a711 | 1914:b01d60dfa405 |
---|---|
11 local st = require"util.stanza"; | 11 local st = require"util.stanza"; |
12 local lfs = require"lfs"; | 12 local lfs = require"lfs"; |
13 local uuid = require"util.uuid".generate; | 13 local uuid = require"util.uuid".generate; |
14 local t_concat = table.concat; | 14 local t_concat = table.concat; |
15 local t_insert = table.insert; | 15 local t_insert = table.insert; |
16 local s_upper = string.upper; | |
16 | 17 |
17 local function join_path(a, b) | 18 local function join_path(a, b) |
18 return a .. package.config:sub(1,1) .. b; | 19 return a .. package.config:sub(1,1) .. b; |
19 end | 20 end |
20 | 21 |