Merge pull request #13311 from Heroman3003/kick-ban

Makes unban panel bans also kick players in process
This commit is contained in:
Casey
2022-07-09 17:00:26 -04:00
committed by CHOMPStation2
parent ef3e059335
commit 8788a1cabe

View File

@@ -102,6 +102,8 @@
notes_add(banckey,banreason,usr)
DB_ban_record(bantype, playermob, banduration, banreason, banjob, null, banckey, banip, bancid )
if((bantype == BANTYPE_PERMA || bantype == BANTYPE_TEMP) && playermob.client)
qdel(playermob.client)
else if(href_list["editrights"])
if(!check_rights(R_PERMISSIONS))