diff -r fc2cfec95d86 -r add191d825f4 rust/hedgewars-server/src/protocol/messages.rs --- a/rust/hedgewars-server/src/protocol/messages.rs Fri Apr 12 19:26:44 2019 +0300 +++ b/rust/hedgewars-server/src/protocol/messages.rs Fri Apr 12 22:36:54 2019 +0300 @@ -62,8 +62,6 @@ Delete(String), SaveRoom(String), LoadRoom(String), - Malformed, - Empty, } #[derive(Debug, Clone, Copy)] @@ -341,8 +339,6 @@ Delete(name) => msg!["CMD", format!("DELETE {}", name)], SaveRoom(name) => msg!["CMD", format!("SAVEROOM {}", name)], LoadRoom(name) => msg!["CMD", format!("LOADROOM {}", name)], - Malformed => msg!["A", "QUICK", "BROWN", "HOG", "JUMPS", "OVER", "THE", "LAZY", "DOG"], - Empty => msg![""], _ => panic!("Protocol message not yet implemented"), } }