mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
reimplements attack and player logs (#19313)
* reomplements attack and player logs * right log cat * updates logging, makesDB optional * regex serarch * . * . * . * sucks * db load * . * . * db logging
This commit is contained in:
@@ -433,7 +433,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
|
||||
|
||||
@@ -454,7 +453,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