changeset 14420 | 06672690d71b |
parent 14379 | e5db279308d7 |
child 14462 | 98ef2913ec73 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rust/hedgewars-server/src/server/handlers/checker.rs Mon Dec 10 22:44:46 2018 +0100 @@ -0,0 +1,18 @@ +use mio; +use log::*; + +use crate::{ + server::{ + core::HWServer, + coretypes::ClientId, + }, + protocol::messages::{ + HWProtocolMessage + }, +}; + +pub fn handle(server: & mut HWServer, client_id: ClientId, message: HWProtocolMessage) { + match message { + _ => warn!("Unknown command"), + } +}