aboutsummaryrefslogtreecommitdiff
path: root/examples/01_basic_ping_bot/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-04-19 16:37:34 -0700
committerZeyla Hellyer <[email protected]>2017-04-19 16:37:34 -0700
commit5bf6c2d2cf0491951eddb10ab2641d02d0e730a1 (patch)
treea15ea368b419607d6b38523eb18bc618b99fc884 /examples/01_basic_ping_bot/src
parentClippy lints (diff)
downloadserenity-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