Merge pull request #4335 from Citadel-Station-13/upstream-merge-33458

[MIRROR] Adds a chat command to reload admins in case someone locks themselves out.
This commit is contained in:
deathride58
2017-12-13 01:24:36 +00:00
committed by GitHub
+10
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."