Browse Source

lint src/bin/*

pull/42/head
jake 3 years ago
parent
commit
b6a2d55100
  1. 2
      src/bin/login.rs
  2. 2
      src/bin/ship.rs

2
src/bin/login.rs

@ -41,7 +41,7 @@ fn main() {
let login_state = LoginServerState::new(thread_entity_gateway, charserv_ip);
let login_loop = login_mainloop(login_state, elseware::login::login::LOGIN_PORT);
let char_state = CharacterServerState::new(entity_gateway, AuthToken(shipgate_token.into()));
let char_state = CharacterServerState::new(entity_gateway, AuthToken(shipgate_token));
let character_loop = character_mainloop(char_state, elseware::login::character::CHARACTER_PORT, elseware::login::login::COMMUNICATION_PORT);
info!("[auth/character] starting server");

2
src/bin/ship.rs

@ -42,7 +42,7 @@ fn main() {
.ip(ip)
.port(elseware::ship::ship::SHIP_PORT)
.gateway(entity_gateway)
.auth_token(AuthToken(shipgate_token.into()))
.auth_token(AuthToken(shipgate_token))
.build();
let shipgate_ip = std::env::var("SHIPGATE_IP").unwrap().parse().unwrap();

Loading…
Cancel
Save