Small optimisation
const auto isPassive = seeker.size() > 4 && seeker.compare(0, 4, "Hub:") == 0;
- if(ClientManager::getInstance()->isActive() && !isPassive) { + if(!isPassive && ClientManager::getInstance()->isActive()) {
Small optimisation
const auto isPassive = seeker.size() > 4 && seeker.compare(0, 4, "Hub:") == 0;
- if(ClientManage r::getInstance( )->isActive( ) && !isPassive) { :getInstance( )->isActive( )) {
+ if(!isPassive && ClientManager: