| 173 | } |
| 174 | |
| 175 | void CServerBrowser::Con_RemoveExcludedCountry(IConsole::IResult *pResult, void *pUserData) |
| 176 | { |
| 177 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 178 | const char *pCommunityId = pResult->GetString(0); |
| 179 | const char *pCountryName = pResult->GetString(1); |
| 180 | if(!pThis->ValidateCommunityId(pCommunityId) || !pThis->ValidateCountryName(pCountryName)) |
| 181 | return; |
| 182 | pThis->CountriesFilter().Remove(pCommunityId, pCountryName); |
| 183 | } |
| 184 | |
| 185 | void CServerBrowser::Con_AddExcludedType(IConsole::IResult *pResult, void *pUserData) |
| 186 | { |
nothing calls this directly
no test coverage detected