Removed unnecessary check

This commit is contained in:
eidheim 2018-08-01 09:24:12 +02:00
commit b8de3ae504

View file

@ -388,7 +388,7 @@ namespace SimpleWeb {
}
for(auto it = connections.begin(); it != connections.end(); ++it) {
if(!(*it)->in_use && !connection) {
if(!(*it)->in_use) {
connection = *it;
break;
}