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:
@@ -103,7 +103,7 @@ public sealed class BanManager : IBanManager, IPostInjectInit
|
||||
//Miracle edit start
|
||||
private async Task CacheDbServerBans(NetUserId userId, IPAddress? address = null, ImmutableArray<byte>? hwId = null)
|
||||
{
|
||||
var serverBans = await _db.GetServerBansAsync(address, userId, hwId, false);
|
||||
var serverBans = await _db.GetServerBansAsync(address, userId, hwId, false, _cfg.GetCVar(CCVars.AdminLogsServerName));
|
||||
|
||||
var userServerBans = new HashSet<ServerBanDef>(serverBans);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user