rust/hedgewars-server/src/protocol/messages.rs
changeset 14816 add191d825f4
parent 14812 b889d9e1115f
child 14856 57ed3981db20
--- 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"),
         }
     }