Bugfixes (#69)
* - fix: Fix bans. * - fix: Fix all roles for admins. * - fix: No command headrevs. * - tweak: Now round ends on rev win. * - fix: Ash now smimmune. * - fix: Ghost role cvar fix. * - fix: Security icons only work on humans.
This commit is contained in:
@@ -170,7 +170,7 @@ namespace Content.Server.Connection
|
||||
}
|
||||
//WD-EDIT
|
||||
|
||||
var bans = await _db.GetServerBansAsync(addr, userId, hwId, includeUnbanned: false);
|
||||
var bans = await _db.GetServerBansAsync(addr, userId, hwId, includeUnbanned: false, _cfg.GetCVar(CCVars.AdminLogsServerName));
|
||||
if (bans.Count > 0 && bans.Any(x=> x.ExpirationTime == null)) //Miracle edit
|
||||
{
|
||||
var firstBan = bans[0];
|
||||
|
||||
Reference in New Issue
Block a user