diff options
| author | Zeyla Hellyer <[email protected]> | 2017-04-19 16:37:34 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-04-19 16:37:34 -0700 |
| commit | 5bf6c2d2cf0491951eddb10ab2641d02d0e730a1 (patch) | |
| tree | a15ea368b419607d6b38523eb18bc618b99fc884 /examples/01_basic_ping_bot/src | |
| parent | Clippy lints (diff) | |
| download | serenity-5bf6c2d2cf0491951eddb10ab2641d02d0e730a1.tar.xz serenity-5bf6c2d2cf0491951eddb10ab2641d02d0e730a1.zip | |
Fix ratelimiting on `Route::None` routes
Routes with a `Route::None` - to indicate not to keep a ratelimit
bucket - would enter a loop on the route. To fix this, add an `else`
block to the check for whether the route is _not_ `Route::None`, and
return from it.
Diffstat (limited to 'examples/01_basic_ping_bot/src')
0 files changed, 0 insertions, 0 deletions