rust/hedgewars-server/src/handlers/inroom.rs
changeset 15534 bb93e9642b5b
parent 15531 ede5f4ec48f3
child 15536 a798e6441a36
--- a/rust/hedgewars-server/src/handlers/inroom.rs	Sat Dec 28 19:41:05 2019 +0300
+++ b/rust/hedgewars-server/src/handlers/inroom.rs	Mon Dec 30 17:25:44 2019 +0300
@@ -100,7 +100,7 @@
     match msg {
         ToggleRestrictJoin => RoomFlags::RESTRICTED_JOIN,
         ToggleRestrictTeams => RoomFlags::RESTRICTED_TEAM_ADD,
-        ToggleRegisteredOnly => RoomFlags::RESTRICTED_UNREGISTERED_PLAYERS,
+        ToggleRegisteredOnly => RoomFlags::REGISTRATION_REQUIRED,
         _ => RoomFlags::empty(),
     }
 }