Skip to content

Commit

Permalink
Merge pull request Baystation12#35045 from SierraKomodo/log-on-connect
Browse files Browse the repository at this point in the history
Notify staff when clients connect to the server
  • Loading branch information
SierraKomodo authored Jan 11, 2025
2 parents 828410f + f3441f7 commit e4f808b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/client/client_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
// This turns out to be a touch too much when a bunch of people are connecting at once from a restart during init.
if (GAME_STATE & RUNLEVELS_DEFAULT)
spawn()
log_and_message_staff(SPAN_NOTICE("[key_name_admin(src)] has connected to the server."))
if (!check_rights(R_MOD, FALSE, src))
// Check connections
var/list/connections = fetch_connections()
Expand Down

0 comments on commit e4f808b

Please sign in to comment.