1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Minor fixes and corrections to network-related code. No functionality

changes.
This commit is contained in:
Ivan Savenko
2024-02-12 18:57:20 +02:00
parent dc8d48a3b6
commit 7c34d48258
5 changed files with 28 additions and 29 deletions

View File

@@ -22,7 +22,7 @@ bool LobbyServer::isAccountNameValid(const std::string & accountName) const
if(accountName.size() < 4)
return false;
if(accountName.size() < 20)
if(accountName.size() > 20)
return false;
for(const auto & c : accountName)