aboutsummaryrefslogtreecommitdiff
path: root/src/voice/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/voice/handler.rs')
-rw-r--r--src/voice/handler.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/voice/handler.rs b/src/voice/handler.rs
index 4124d66..2c9cf48 100644
--- a/src/voice/handler.rs
+++ b/src/voice/handler.rs
@@ -149,11 +149,11 @@ impl Handler {
// Safe as all of these being present was already checked.
self.send(VoiceStatus::Connect(ConnectionInfo {
- endpoint: endpoint,
- guild_id: guild_id,
- session_id: session_id,
- token: token,
- user_id: user_id,
+ endpoint,
+ guild_id,
+ session_id,
+ token,
+ user_id,
}));
true
@@ -373,14 +373,14 @@ impl Handler {
Handler {
channel_id: None,
endpoint: None,
- guild_id: guild_id,
+ guild_id,
self_deaf: false,
self_mute: false,
sender: tx,
session_id: None,
token: None,
- user_id: user_id,
- ws: ws,
+ user_id,
+ ws,
}
}