--- a/rust/hedgewars-server/src/handlers/inlobby.rs Sat Mar 25 03:29:22 2023 +0300
+++ b/rust/hedgewars-server/src/handlers/inlobby.rs Sat Mar 25 04:00:30 2023 +0300
@@ -26,6 +26,8 @@
) {
use hedgewars_network_protocol::messages::HwProtocolMessage::*;
+ todo!("add kick/ban handlers");
+
match message {
CreateRoom(name, password) => match server.create_room(client_id, name, password) {
Err(CreateRoomError::InvalidName) => response.warn(ILLEGAL_ROOM_NAME),
@@ -47,6 +49,7 @@
}
},
Chat(msg) => {
+ todo!("add client quiet flag");
response.add(
ChatMsg {
nick: server.client(client_id).nick.clone(),