--- a/gameServer2/src/server/handlers/loggingin.rs Tue Dec 05 11:36:29 2017 -0500
+++ b/gameServer2/src/server/handlers/loggingin.rs Wed Dec 06 23:46:17 2017 +0100
@@ -6,7 +6,7 @@
use protocol::messages::HWProtocolMessage;
use protocol::messages::HWServerMessage::*;
-pub fn handle(server: &mut HWServer, token: mio::Token, poll: &mio::Poll, message: HWProtocolMessage) {
+pub fn handle(server: &mut HWServer, token: usize, poll: &mio::Poll, message: HWProtocolMessage) {
match message {
HWProtocolMessage::Nick(nick) =>
if server.clients[token].room_id == None {