From 269cca161a8066a6ee7943ef352b3c163e9edb3a Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 1 Aug 2016 16:18:02 +0200 Subject: [PATCH] Media: Fix --- otouto/plugins/media.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/otouto/plugins/media.lua b/otouto/plugins/media.lua index 940ad81..207e5e4 100644 --- a/otouto/plugins/media.lua +++ b/otouto/plugins/media.lua @@ -1,5 +1,7 @@ local media = {} +mimetype = (loadfile "./otouto/mimetype.lua")() + media.triggers = { "(https?://[%w-_%.%?%.:,/%+=&%[%]]+%.(gif))$", "^(https?://[%w-_%.%?%.:,/%+=&%[%]]+%.(mp4))$",