Adds a chat command to reload admins in case someone locks themselves out. (#33458)

* Update chat_commands.dm

* skype
This commit is contained in:
kevinz000
2017-12-12 10:56:00 -08:00
committed by Jordan Brown
parent fb08e2a735
commit 0cd93748d6

View File

@@ -81,3 +81,13 @@ GLOBAL_LIST(round_end_notifiees)
LAZYINITLIST(GLOB.round_end_notifiees)
GLOB.round_end_notifiees[sender] = TRUE
return "I will notify [sender] when the round ends."
/datum/server_tools_command/reload_admins
name = "reload_admins"
help_text = "Forces the server to reload admins."
admin_only = TRUE
/datum/server_tools_command/reload_admins/Run(sender, params)
load_admins()
log_admin("[sender] reloaded admins via chat command.")
return "Admins reloaded."