public DynamicPermissionBlock(DynamicRestricionSet allow, DynamicRestricionSet deny) { if (allow == null) allow = new DynamicRestricionSet(); if (deny == null) deny = new DynamicRestricionSet(); Allow = allow; Deny = deny; }
public DynamicPermissionBlock(DynamicRestricionSet allow, DynamicRestricionSet deny) { if (allow == null) { allow = new DynamicRestricionSet(); } if (deny == null) { deny = new DynamicRestricionSet(); } Allow = allow; Deny = deny; }
private bool IsInvalidChannelsInSet(DynamicRestricionSet set, Server server, out ulong invalidId) => IsInvalidChannelsInDict(set.Commands, server, out invalidId) || IsInvalidChannelsInDict(set.Modules, server, out invalidId);