From e0f56b520b37dc09acd5b4f466f97dadbcced705 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Tue, 9 Aug 2016 21:30:42 +0200 Subject: [PATCH] Fixe media. Wat? --- otouto/plugins/media.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/media.lua b/otouto/plugins/media.lua index 5c41675..22575d7 100644 --- a/otouto/plugins/media.lua +++ b/otouto/plugins/media.lua @@ -25,7 +25,7 @@ media.triggers = { function media:action(msg, config, matches) local url = matches[1] local ext = matches[2] - local mime_type = mimetype.get_content_type_no_sub(ext) + local mime_type = mimetype:get_content_type_no_sub(ext) local receiver = msg.chat.id if mime_type == 'audio' then