mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-26 18:13:35 +00:00
Merge pull request #13311 from Heroman3003/kick-ban
Makes unban panel bans also kick players in process
This commit is contained in:
@@ -102,6 +102,8 @@
|
|||||||
notes_add(banckey,banreason,usr)
|
notes_add(banckey,banreason,usr)
|
||||||
|
|
||||||
DB_ban_record(bantype, playermob, banduration, banreason, banjob, null, banckey, banip, bancid )
|
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"])
|
else if(href_list["editrights"])
|
||||||
if(!check_rights(R_PERMISSIONS))
|
if(!check_rights(R_PERMISSIONS))
|
||||||
|
|||||||
Reference in New Issue
Block a user