equal
deleted
inserted
replaced
11 HWServerMessage::* |
11 HWServerMessage::* |
12 }, |
12 }, |
13 utils::is_name_illegal |
13 utils::is_name_illegal |
14 }; |
14 }; |
15 use super::common::rnd_reply; |
15 use super::common::rnd_reply; |
|
16 use log::*; |
16 |
17 |
17 pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
18 pub fn handle(server: &mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
18 use crate::protocol::messages::HWProtocolMessage::*; |
19 use crate::protocol::messages::HWProtocolMessage::*; |
19 match message { |
20 match message { |
20 CreateRoom(name, password) => { |
21 CreateRoom(name, password) => { |