mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Panic bunker fix (#25538)
* Panic bunker fix
I admin
* tired
(cherry picked from commit b26acc9547)
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Content.Server.Connection
|
||||
|
||||
var adminData = await _dbManager.GetAdminDataForAsync(e.UserId);
|
||||
|
||||
if (_cfg.GetCVar(CCVars.PanicBunkerEnabled))
|
||||
if (_cfg.GetCVar(CCVars.PanicBunkerEnabled) && adminData == null)
|
||||
{
|
||||
var showReason = _cfg.GetCVar(CCVars.PanicBunkerShowReason);
|
||||
var customReason = _cfg.GetCVar(CCVars.PanicBunkerCustomReason);
|
||||
|
||||
Reference in New Issue
Block a user