diff options
| author | 2019-09-14 20:49:48 +0200 | |
|---|---|---|
| committer | 2019-09-14 20:49:48 +0200 | |
| commit | 4178973a5bc53a584ea31540ecf6638f0e8307fc (patch) | |
| tree | da699f7566db282f9d8c99b57aeae3675b0b8583 /scripts | |
| parent | Improve handling of long deleted messsages (diff) | |
Fixes a sneaky genexp exhaustion bug in @without_role.
This problem made the decorator only check the first role that was
passed into it, instead of checking all the roles. In other words,
the check would fail on *STAFF_ROLES unless you had the Helpers role.
Solved by refactoring the genexp to a listcomp.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions