rust/hedgewars-server/src/server/handlers/loggingin.rs
changeset 14676 455865ccd36c
parent 14462 98ef2913ec73
child 14677 6e6632068a33
--- a/rust/hedgewars-server/src/server/handlers/loggingin.rs	Fri Jan 25 06:46:13 2019 +0100
+++ b/rust/hedgewars-server/src/server/handlers/loggingin.rs	Sat Feb 02 15:06:39 2019 +0300
@@ -36,7 +36,12 @@
     Sha1Digest(sha1(s.as_bytes()))
 }
 
-pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) {
+pub fn handle(
+    server: &mut HWServer,
+    client_id: ClientId,
+    response: &mut super::Response,
+    message: HWProtocolMessage,
+) {
     match message {
         HWProtocolMessage::Nick(nick) => {
             let client = &mut server.clients[client_id];