[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
-4
View File
@@ -4,7 +4,6 @@
if(!check_rights(R_MOD,0) && !check_rights(R_BAN)) return
establish_db_connection()
if(!SSdbcore.IsConnected())
return
@@ -126,7 +125,6 @@
if(job)
sql += " AND job = '[job]'"
establish_db_connection()
if(!SSdbcore.IsConnected())
return
@@ -224,7 +222,6 @@
var/sql = "SELECT ckey FROM erro_ban WHERE id = [id]"
establish_db_connection()
if(!SSdbcore.IsConnected())
return
@@ -276,7 +273,6 @@
if(!check_rights_for(user, R_BAN))
return
establish_db_connection()
if(!SSdbcore.IsConnected())
to_chat(usr, span_filter_adminlog("[span_red("Failed to establish database connection")]"))
return