Fixed disabling OOC not disabling the discord relay (#8275)

Co-authored-by: ike709 <ike709@github.com>
This commit is contained in:
ike709
2022-05-19 22:18:28 -05:00
committed by GitHub
parent 25ef9d00b8
commit 20651fc71f
2 changed files with 9 additions and 0 deletions

View File

@@ -697,6 +697,11 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> AdminOocEnabled =
CVarDef.Create("ooc.enabled_admin", true, CVar.NOTIFY);
/// <summary>
/// If true, whenever OOC is disabled the Discord OOC relay will also be disabled.
/// </summary>
public static readonly CVarDef<bool> DisablingOOCDisablesRelay = CVarDef.Create("ooc.disabling_ooc_disables_relay", true, CVar.SERVERONLY);
/*
* LOOC
*/