mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Prevents permabans from noting as 0 minute bans
This commit is contained in:
@@ -116,7 +116,10 @@ var/savefile/Banlist
|
||||
Banlist["temp"] << temp
|
||||
if (temp)
|
||||
Banlist["minutes"] << bantimestamp
|
||||
notes_add(ckey, "Banned for [minutes] minutes - [reason]")
|
||||
if(!minutes)
|
||||
notes_add(ckey, "Permanently banned - [reason]")
|
||||
else
|
||||
notes_add(ckey, "Banned for [minutes] minutes - [reason]")
|
||||
return 1
|
||||
|
||||
/proc/RemoveBan(foldername)
|
||||
|
||||
Reference in New Issue
Block a user