Remove unnecessary check.

This commit is contained in:
Bartosz Taudul 2022-10-09 21:59:10 +02:00
parent f509ed1561
commit f2f36876e1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -324,7 +324,7 @@ static void DrawContents()
it->second.time = time;
it->second.activeTime = activeTime;
it->second.port = listenPort;
if( it->second.protocolVersion != protoVer ) it->second.protocolVersion = protoVer;
it->second.protocolVersion = protoVer;
if( strcmp( it->second.procName.c_str(), procname ) != 0 ) it->second.procName = procname;
}
}