diff options
| author | Austin Hellyer <[email protected]> | 2016-12-12 07:23:25 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-12 07:23:25 -0800 |
| commit | cc77f1df4f8422d2c472330a31098a9400e4ee7b (patch) | |
| tree | 51e922760e1a0fffc1c75a4cadc659e4624bc336 /src | |
| parent | More config for CreateCommand, add various methods (diff) | |
| download | serenity-cc77f1df4f8422d2c472330a31098a9400e4ee7b.tar.xz serenity-cc77f1df4f8422d2c472330a31098a9400e4ee7b.zip | |
Cleanup gateway prep
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/gateway/prep.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/gateway/prep.rs b/src/client/gateway/prep.rs index 4602ea6..ce105b3 100644 --- a/src/client/gateway/prep.rs +++ b/src/client/gateway/prep.rs @@ -62,10 +62,7 @@ pub fn identify(token: &str, shard_info: Option<[u8; 2]>) -> Value { .insert_object("properties", |object| object .insert("$browser", "Ergonomic and high-level Rust library") .insert("$device", "serenity") - .insert("$os", env::consts::OS) - .insert("$referrer", "") - .insert("$referring_domain", "") - ) + .insert("$os", env::consts::OS)) .insert("token", token) .insert("v", constants::GATEWAY_VERSION); |