From a3a136333a79072224a16480a8151df93d1f7b29 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 4 Jul 2016 20:11:10 +0200 Subject: [PATCH] Fixe imgblacklist --- otouto/plugins/imgblacklist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/imgblacklist.lua b/otouto/plugins/imgblacklist.lua index d75fe45..70b1048 100644 --- a/otouto/plugins/imgblacklist.lua +++ b/otouto/plugins/imgblacklist.lua @@ -47,7 +47,7 @@ function imgblacklist:remove_blacklist(word) end end -function imgblacklist:action(msg) +function imgblacklist:action(msg, config) if msg.from.id ~= config.admin then utilities.send_reply(self, msg, config.errors.sudo) return