diff -r 6a818f9192f4 -r ee3fa3b8809d gameServer2/src/protocol/test.rs --- a/gameServer2/src/protocol/test.rs Fri Jun 29 18:27:51 2018 +0300 +++ b/gameServer2/src/protocol/test.rs Mon Jul 02 16:25:49 2018 +0300 @@ -37,6 +37,7 @@ ) } +/// Wrapper type for generating non-empty strings #[derive(Debug)] struct Ascii(String); @@ -121,7 +122,7 @@ 47 => Unfix(), 48 => Greeting(Ascii), //49 => CallVote(Option<(String, Option)>), - 50 => Vote(String), + 50 => Vote(Ascii), 51 => ForceVote(Ascii), //52 => Save(String, String), 53 => Delete(Ascii),