Browse Source

Remove superfluous version constants.

wip
Titouan Rigoudy 4 years ago
parent
commit
f70c7d5dfe
2 changed files with 1 additions and 7 deletions
  1. +1
    -4
      client/src/client.rs
  2. +0
    -3
      proto/src/config.rs

+ 1
- 4
client/src/client.rs View File

@ -82,10 +82,7 @@ impl Client {
)
.unwrap();
let version = server::Version {
major: config::VER_MAJOR,
minor: config::VER_MINOR,
};
let version = server::Version::default();
self.send_to_server(credentials.into_login_request(version).into());


+ 0
- 3
proto/src/config.rs View File

@ -1,6 +1,3 @@
pub const VER_MAJOR: u32 = 181;
pub const VER_MINOR: u32 = 100;
pub const USERNAME: &'static str = "solstice";
// The password is not used for much, and sent unencrypted over the wire, so
// why not even check it in to git


Loading…
Cancel
Save