From b7d2fe7f82356f035683f713735ba58709a668f2 Mon Sep 17 00:00:00 2001 From: topkecleon Date: Mon, 30 May 2016 21:06:33 -0400 Subject: [PATCH] administration.lua: Fixed bug in antibot. --- plugins/administration.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/administration.lua b/plugins/administration.lua index 51bcd48..bdf2dcc 100644 --- a/plugins/administration.lua +++ b/plugins/administration.lua @@ -373,7 +373,7 @@ function administration.init_command(self_) elseif ( -- antibot group.flags[4] and noob.username - and noob.username:match('bot') + and noob.username:match('bot$') and rank < 2 ) then new_user.do_kick = true