summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:16:49 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-14 20:16:49 +0100
commit86700f88abe1ca2d811169316443c5339484b72e (patch)
treebe92e061aa75589d16aa3279365fb0014ed4d0fe /src/util
parent:bug: fix PermissionResolvable (diff)
downloadserver-86700f88abe1ca2d811169316443c5339484b72e.tar.xz
:bug: fix public member type
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Permissions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Permissions.ts b/src/util/Permissions.ts
index c7a3d81f..56540b8f 100644
--- a/src/util/Permissions.ts
+++ b/src/util/Permissions.ts
@@ -88,7 +88,7 @@ export class Permissions extends BitField {
 	}
 
 	static channelPermission(overwrites: ChannelPermissionOverwrite[], init?: bigint) {
-		// channelOverwrites.filter((x) => x.type === 1 && x.id !== user.id);
+		// TODO: do not deny any permissions if admin
 		return overwrites.reduce((permission, overwrite) => {
 			// apply disallowed permission
 			// * permission: current calculated permission (e.g. 010)