gameServer2/src/protocol/test.rs
changeset 13432 ee3fa3b8809d
parent 13421 d1368c776a4f
child 13433 fb104e150878
--- 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<String>)>),
-        50 => Vote(String),
+        50 => Vote(Ascii),
         51 => ForceVote(Ascii),
         //52 => Save(String, String),
         53 => Delete(Ascii),