Merge branch 'master' of http://github.com/topkecleon/otouto
This commit is contained in:
commit
cc4c1ea108
@ -1158,6 +1158,7 @@ local action = function(msg)
|
||||
for i,v in ipairs(commands) do
|
||||
for key,val in pairs(v.triggers) do
|
||||
if msg.text_lower:match(val) then
|
||||
if msg.chat.type == 'private' then break end
|
||||
if v.interior and not database.administration.groups[msg.chat.id_str] then
|
||||
break
|
||||
end
|
||||
|
Reference in New Issue
Block a user