mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-21 13:13:29 +01:00
[MIRROR] reimplements attack and player logs (#12553)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bb90e792ca
commit
99afe463dc
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user