--- 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',
}