diff options
| author | Austin Hellyer <[email protected]> | 2016-12-17 11:27:33 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-17 11:27:33 -0800 |
| commit | fafa3637e760f0c72ae5793127bc2f70dcf2d0e2 (patch) | |
| tree | 9672ed812d5057703ac8a793b19fb102c0523c07 /src/ext/framework | |
| parent | Add guild splash URL methods (diff) | |
| download | serenity-fafa3637e760f0c72ae5793127bc2f70dcf2d0e2.tar.xz serenity-fafa3637e760f0c72ae5793127bc2f70dcf2d0e2.zip | |
Fix framework command cooldowns
Diffstat (limited to 'src/ext/framework')
| -rw-r--r-- | src/ext/framework/buckets.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/framework/buckets.rs b/src/ext/framework/buckets.rs index c0d0017..02cd658 100644 --- a/src/ext/framework/buckets.rs +++ b/src/ext/framework/buckets.rs @@ -33,7 +33,7 @@ pub struct Bucket { impl Bucket { pub fn take(&mut self, user_id: u64) -> i64 { - let time =- time::get_time().sec; + let time = time::get_time().sec; let user = self.users.entry(user_id) .or_insert_with(MemberRatelimit::default); |