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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user