aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@fucktheforce.de>2018-01-29 12:06:50 +0100
committerroot <root@fucktheforce.de>2018-01-29 12:06:50 +0100
commit09c31c78d05062035f2895c87b94116368bb9cff (patch)
tree073acdd7c6b174711c65c08a005cd661af129aff
parent9c709184af60c99a40160ab047c66eb66eb8231c (diff)
parentaaa63c4d17f6c869fc4a6c52d48304aae68b5651 (diff)
Merge branch 'master' of http://git.fucktheforce.de/cgi-bin/git/httpupload
-rw-r--r--prosody-module/mod_http_upload_external/mod_http_upload_external.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody-module/mod_http_upload_external/mod_http_upload_external.lua b/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
index 068961e..001894c 100644
--- a/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
+++ b/prosody-module/mod_http_upload_external/mod_http_upload_external.lua
@@ -17,7 +17,7 @@ local filetransfer_manager_ui_url = module:get_option("filetransfer_manager_ui_u
-- imports
require"https";
local st = require"util.stanza";
-local http = (string.len(url) >= 5 and string.sub(url,1,5) == "https") and require"ssl.https" or require"socket.http";
+local http = (string.len(external_url) >= 5 and string.sub(external_url,1,5) == "https") and require"ssl.https" or require"socket.http";
local json = require"util.json";
local dataform = require "util.dataforms".new;
local ltn12 = require"ltn12";