Fixe imgblacklist

This commit is contained in:
Andreas Bielawski 2016-07-04 20:11:10 +02:00
parent b53b318ab9
commit a3a136333a

View File

@ -47,7 +47,7 @@ function imgblacklist:remove_blacklist(word)
end end
end end
function imgblacklist:action(msg) function imgblacklist:action(msg, config)
if msg.from.id ~= config.admin then if msg.from.id ~= config.admin then
utilities.send_reply(self, msg, config.errors.sudo) utilities.send_reply(self, msg, config.errors.sudo)
return return