Fixe imgblacklist
This commit is contained in:
parent
b53b318ab9
commit
a3a136333a
@ -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
|
||||||
|
Reference in New Issue
Block a user