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 i,v in ipairs(commands) do
|
||||||
for key,val in pairs(v.triggers) do
|
for key,val in pairs(v.triggers) do
|
||||||
if msg.text_lower:match(val) then
|
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
|
if v.interior and not database.administration.groups[msg.chat.id_str] then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user