[MIRROR] reimplements attack and player logs (#12553)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-19 15:03:53 -07:00
committed by GitHub
parent bb90e792ca
commit 99afe463dc
50 changed files with 411 additions and 270 deletions
-2
View File
@@ -437,7 +437,6 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
// Returns null if no DB connection can be established, or -1 if the requested key was not found in the database
/proc/get_player_age(key)
establish_db_connection()
if(!SSdbcore.IsConnected())
return null
@@ -458,7 +457,6 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if ( IsGuestKey(src.key) )
return
establish_db_connection()
if(!SSdbcore.IsConnected())
return
+2 -2
View File
@@ -42,7 +42,7 @@
message_admins("[key_name_admin(src)] has attempted to post a link in OOC: [msg]")
return
src.mob.log_talk(msg, LOG_OOC)
src.mob.log_talk(msg, LOG_OOC, color="#0051ff")
if(msg)
handle_spam_prevention(MUTE_OOC)
@@ -125,7 +125,7 @@
message_admins("[key_name_admin(src)] has attempted to post a link in OOC: [msg]")
return
src.mob.log_message(msg, LOG_LOOC)
src.mob.log_message(msg, LOG_LOOC, color="#53cbff")
if(msg)
handle_spam_prevention(MUTE_LOOC)