Skip to content

Commit

Permalink
[s] fixes client security autobans (#6820)
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons authored Oct 27, 2024
1 parent b580491 commit 7c4e7d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/client/security.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@
log_access("client security: banning [key_name(src)] [time == -1? "" : "for [time_displayed]"] | [message]")
message_admins("client security: banning [key_name(src)] [time == -1? "" : "for [time_displayed]"] | [message]")
add_system_note("client-security", "banned for [time_displayed]: [message]")
qdel(src)
AddBan(ckey, computer_id, "client-security: [message]", minutes = time)
disconnection_message("Client Security - Autoban: [message]")
qdel(src)

/**
* queues a security kick
Expand Down

0 comments on commit 7c4e7d8

Please sign in to comment.