rust/hedgewars-server/src/protocol/messages.rs
changeset 14796 b889d9e1115f
parent 14792 0e64acbc3f8b
child 14800 add191d825f4
--- a/rust/hedgewars-server/src/protocol/messages.rs	Thu Apr 11 21:25:31 2019 +0300
+++ b/rust/hedgewars-server/src/protocol/messages.rs	Fri Apr 12 02:48:16 2019 +0300
@@ -66,13 +66,13 @@
     Empty,
 }
 
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
 pub enum ProtocolFlags {
     InRoom,
     RoomMaster,
     Ready,
     InGame,
-    Authenticated,
+    Registered,
     Admin,
     Contributor,
 }
@@ -85,7 +85,7 @@
             ProtocolFlags::RoomMaster => 'h',
             ProtocolFlags::Ready => 'r',
             ProtocolFlags::InGame => 'g',
-            ProtocolFlags::Authenticated => 'u',
+            ProtocolFlags::Registered => 'u',
             ProtocolFlags::Admin => 'a',
             ProtocolFlags::Contributor => 'c',
         }