mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Removed unused events (#27145)
* Removed unused events * removed unused inventory datum * removed on_pipenet_tick
This commit is contained in:
@@ -106,17 +106,6 @@
|
||||
to_chat(usr, "<span class='notice'>Ban saved to database.</span>")
|
||||
message_admins("[key_name_admin(usr)] has added a [bantype_str] for [ckey] [(job)?"([job])":""] [(duration > 0)?"([duration] minutes)":""] with the reason: \"[reason]\" to the ban database.",1)
|
||||
|
||||
INVOKE_EVENT(on_ban,list(
|
||||
"ckey"=ckey,
|
||||
"computer_id"=computerid,
|
||||
"reason"=reason,
|
||||
"duration"=duration,
|
||||
"ip"=ip,
|
||||
"type"=bantype,
|
||||
"job"=job,
|
||||
"admin"=usr
|
||||
))
|
||||
|
||||
|
||||
|
||||
datum/admins/proc/DB_ban_unban(var/ckey, var/bantype, var/job = "")
|
||||
@@ -319,13 +308,6 @@ datum/admins/proc/DB_ban_unban_by_id(var/id)
|
||||
return
|
||||
qdel(query_update)
|
||||
|
||||
INVOKE_EVENT(on_unban,list(
|
||||
"id"=id,
|
||||
"ckey"=pckey,
|
||||
|
||||
"admin"=src.owner
|
||||
))
|
||||
|
||||
/client/proc/DB_ban_panel()
|
||||
set category = "Admin"
|
||||
set name = "Banning Panel"
|
||||
|
||||
Reference in New Issue
Block a user