Fix HTTP für Media

This commit is contained in:
Andreas Bielawski 2016-08-01 01:20:45 +02:00
parent 22dc1916de
commit 6757c57565
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ local bot = {}
bindings = require('otouto.bindings')
utilities = require('otouto.utilities')
bot.version = '2.2.4.0'
bot.version = '2.2.4.1'
function bot:init(config) -- The function run when the bot is started or reloaded.
cred_data = load_cred()

View File

@ -780,7 +780,7 @@ function cache_file(result, url, last_modified)
end
function get_http_header(url)
local doer = HTTP
local doer = http
local do_redir = true
if url:match('^https') then
doer = https