Fixe media. Wat?

This commit is contained in:
Andreas Bielawski 2016-08-09 21:30:42 +02:00
parent f4a20a972f
commit e0f56b520b

View File

@ -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