diff options
| author | Austin Hellyer <[email protected]> | 2016-12-18 07:19:05 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-18 10:16:17 -0800 |
| commit | 760a47aa4d34160f44048e775afeb30f08891c99 (patch) | |
| tree | ab741b8eb311be304799f294454bf2b7f7fb4301 /src/ext/framework/create_command.rs | |
| parent | Expose message webhook Ids (diff) | |
| download | serenity-760a47aa4d34160f44048e775afeb30f08891c99.tar.xz serenity-760a47aa4d34160f44048e775afeb30f08891c99.zip | |
Fix framework before check
The framework would ignore the `before` function if the command was not
ran by an owner. Instead, flip the conditions so that it's always run,
and then the result is succeeded by an owner check.
Diffstat (limited to 'src/ext/framework/create_command.rs')
0 files changed, 0 insertions, 0 deletions