rust/hedgewars-server/src/handlers/checker.rs
author alfadur <mail@none>
Sat, 21 Dec 2019 23:33:50 +0300
changeset 15519 b3157d218ae2
parent 15120 febccab419b1
child 15804 747278149393
permissions -rw-r--r--
disallow mutable clients to leave the server

use log::*;
use mio;

use crate::{
    core::{server::HwServer, types::ClientId},
    protocol::messages::HwProtocolMessage,
};

pub fn handle(_server: &mut HwServer, _client_id: ClientId, message: HwProtocolMessage) {
    match message {
        _ => warn!("Unknown command"),
    }
}