From 6757c57565ed077f437b4c1ec18998154ec36ca5 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 1 Aug 2016 01:20:45 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20HTTP=20f=C3=BCr=20Media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otouto/bot.lua | 2 +- otouto/utilities.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/otouto/bot.lua b/otouto/bot.lua index eb17ad4..0941f66 100644 --- a/otouto/bot.lua +++ b/otouto/bot.lua @@ -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() diff --git a/otouto/utilities.lua b/otouto/utilities.lua index 7da146e..9fa0ce6 100644 --- a/otouto/utilities.lua +++ b/otouto/utilities.lua @@ -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