Files
Aurora.3/code/modules/admin/verbs/ntsl.dm
Fluffy 78348238a3 Removed the GELF logging infrastructure (#19577)
Removed the gelf logging infrastructure.
Refactored the various logging procs to be a direct call in light of the
above.
Removed ancilliary UDP related things.
2024-07-08 12:48:16 +00:00

30 lines
950 B
Plaintext

/client/proc/disconnect_ntsl()
set name = "NTSL Disconnect"
set category = "Debug"
if(!check_rights(R_DEBUG)) return
if(SSntsl2.connected)
log_admin("[key_name(src)] disabled NTSL")
message_admins("[key_name_admin(src)] disabled NTSL", 1)
SSntsl2.disconnect()
feedback_add_details("admin_verb","DNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else
to_chat(src, SPAN_WARNING("NTSL2+ Daemon is already disconnected."))
/client/proc/connect_ntsl()
set name = "NTSL Connect"
set category = "Debug"
if(!check_rights(R_DEBUG)) return
if(!SSntsl2.connected)
log_admin("[key_name(src)] enabled NTSL")
message_admins("[key_name_admin(src)] enabled NTSL", 1)
SSntsl2.attempt_connect()
feedback_add_details("admin_verb","CNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
else
to_chat(src, SPAN_WARNING("NTSL2+ Daemon is already connected."))