aboutsummaryrefslogtreecommitdiff
path: root/discord/errors.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-09-10 16:11:52 -0400
committerRapptz <[email protected]>2016-09-10 16:11:52 -0400
commit26f5bcd725894926d0d839514cc1b69556f505a6 (patch)
treec998971fb22e1c5725220f126c914a65df28e97f /discord/errors.py
parentFix bug that disallowed ServerRegion from being used in edit_server. (diff)
downloaddiscord.py-26f5bcd725894926d0d839514cc1b69556f505a6.tar.xz
discord.py-26f5bcd725894926d0d839514cc1b69556f505a6.zip
Fix bug when permission overwrites could be applied out of order.
The bug was due to the fact that the way overwrites work is by doing a loop of all the values and then applying deny first and then allow. That way the overwrite is defined if role A and role B deny a permission but role C allows it (and said member has A, B, C roles) then the resolution should allow it rather than deny it regardless of the order of the data it is received in.
Diffstat (limited to 'discord/errors.py')
0 files changed, 0 insertions, 0 deletions