gameServer2/src/server/handlers/loggingin.rs
changeset 12857 bd35cb2302b3
parent 12152 03ccb89820f3
child 13124 1e39b8749072
--- 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 {