Merge pull request #131 from O-Robotic/p4sync

Pylon: Fix incorrect return value in GetBannedList
This commit is contained in:
Kawe Mazidjatari 2024-11-10 23:51:12 +01:00 committed by GitHub
commit c1ca886ee5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,9 +287,13 @@ bool CPylon::GetBannedList(const CBanSystem::BannedList_t& inBannedVec, CBanSyst
CBanSystem::Banned_t banned(reason ? reason : "#DISCONNECT_BANNED", nuc);
(*outBannedVec)->AddToTail(banned);
}
}
return true;
return true;
}
else
{
return false;
}
}
//-----------------------------------------------------------------------------