Skip to content

Commit

Permalink
bb
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Feb 7, 2025
1 parent a5e9cb6 commit cb5293a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_bandastation/metaserver/code/admin.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ADMIN_VERB(wl_ban, R_BAN, "WL Ban", "Ban a player from the whitelist.", ADMIN_CATEGORY_MAIN)
BLACKBOX_LOG_ADMIN_VERB("WL Ban")
var/banned_ckey = input(user, "Please specify the ckey of the player you want to ban from the whitelist.", "WL Ban", "") as text|null
banned_ckey = ckey(banned_ckey)
if(!banned_ckey)
Expand All @@ -13,4 +14,3 @@ ADMIN_VERB(wl_ban, R_BAN, "WL Ban", "Ban a player from the whitelist.", ADMIN_CA

log_admin("[key_name(user)] banned [banned_ckey] from whitelist for [duration_days] days for reason: [reason]")
message_admins("[key_name_admin(user)] banned [banned_ckey] from whitelist for [duration_days] days for reason: [reason]")
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("WL Ban", "Ckey: [banned_ckey], Duration: [duration_days], Reason: [reason]"))

0 comments on commit cb5293a

Please sign in to comment.