aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-30 12:43:11 -0700
committerGravatar MarkKoz <[email protected]>2020-05-30 12:43:11 -0700
commit4549fa3defb7b9aba22505b438493bf03e74378d (patch)
tree2498ff78d4a719c61f370a6f05edff19ec1016e5 /tests/test_base.py
parentMerge branch 'master' into staff_count_server (diff)
Simplify counting of staff channels and improve efficiency
Simplification comes from being able to access permissions as attributes on the overwrite object. This removes the need to iterate all permissions. Efficiency comes from checking all roles within a single iteration of all channels. This also removes the need to flatten and filter the channels afterwards, which required additional iterations.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions