diff options
| author | 2020-08-07 15:22:56 +0200 | |
|---|---|---|
| committer | 2020-08-07 15:22:56 +0200 | |
| commit | 6be9f0d24caa792b23d8f93ce9d87e48df3e92a5 (patch) | |
| tree | 8fe49b3924922f031ac3fc5c18eef4e634b45759 /tox.ini | |
| parent | Verification: rename cache & document new use (diff) | |
Verification: address member update race condition
In an edge case, the `_kick_members` and `_give_role` could act on
a member who has verified *after* being marked by `_check_members`
as unverified.
To address this, we perform one additional check just before sending
the request. Testing seems to indicate that the `discord.Member`
instance get updates as appropriate, so this should at least reduce
the chances of such a race happening to very close to nil.
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions