administration.lua: Fixed bug in antibot.
This commit is contained in:
parent
e08e5f64ee
commit
b7d2fe7f82
@ -373,7 +373,7 @@ function administration.init_command(self_)
|
|||||||
elseif ( -- antibot
|
elseif ( -- antibot
|
||||||
group.flags[4]
|
group.flags[4]
|
||||||
and noob.username
|
and noob.username
|
||||||
and noob.username:match('bot')
|
and noob.username:match('bot$')
|
||||||
and rank < 2
|
and rank < 2
|
||||||
) then
|
) then
|
||||||
new_user.do_kick = true
|
new_user.do_kick = true
|
||||||
|
Reference in New Issue
Block a user