diff options
| author | Austin Hellyer <[email protected]> | 2016-12-10 10:16:35 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-10 10:16:35 -0800 |
| commit | 530de25aa5345223fa924e76eb69bb32e484a62a (patch) | |
| tree | a243a073855f4a8fdc57e122dc52538be76e9414 /src/client/dispatch.rs | |
| parent | Deprecate embed image/thumbnail height/width (diff) | |
| download | serenity-530de25aa5345223fa924e76eb69bb32e484a62a.tar.xz serenity-530de25aa5345223fa924e76eb69bb32e484a62a.zip | |
Fix no-cache+method conditional compiles
Additionally, flag imports behind feature flags to avoid unused imports.
Diffstat (limited to 'src/client/dispatch.rs')
| -rw-r--r-- | src/client/dispatch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/dispatch.rs b/src/client/dispatch.rs index 3207a0a..7b0439d 100644 --- a/src/client/dispatch.rs +++ b/src/client/dispatch.rs @@ -76,8 +76,8 @@ pub fn dispatch(event: Event, #[cfg(not(feature="framework"))] pub fn dispatch(event: Event, conn: Arc<Mutex<Shard>>, - login_type: LoginType, data: Arc<Mutex<ShareMap>>, + login_type: LoginType, event_store: Arc<RwLock<EventStore>>) { match event { Event::MessageCreate(event) => { |