rust/hedgewars-server/src/handlers/inanteroom.rs
changeset 15558 a798e6441a36
parent 15554 f1205f33bf5b
child 15562 479911540e17
--- a/rust/hedgewars-server/src/handlers/inanteroom.rs	Tue Dec 31 04:42:20 2019 +0300
+++ b/rust/hedgewars-server/src/handlers/inanteroom.rs	Sat Jan 04 01:39:13 2020 +0300
@@ -92,7 +92,7 @@
             if client.protocol_number.is_some() {
                 response.error(PROTOCOL_PROVIDED);
                 LoginResult::Unchanged
-            } else if proto < 48 {
+            } else if proto < 51 {
                 response.add(Bye(PROTOCOL_TOO_OLD.to_string()).send_self());
                 LoginResult::Exit
             } else {