| 163 | } |
| 164 | |
| 165 | void CServerBrowser::Con_AddExcludedCountry(IConsole::IResult *pResult, void *pUserData) |
| 166 | { |
| 167 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 168 | const char *pCommunityId = pResult->GetString(0); |
| 169 | const char *pCountryName = pResult->GetString(1); |
| 170 | if(!pThis->ValidateCommunityId(pCommunityId) || !pThis->ValidateCountryName(pCountryName)) |
| 171 | return; |
| 172 | pThis->CountriesFilter().Add(pCommunityId, pCountryName); |
| 173 | } |
| 174 | |
| 175 | void CServerBrowser::Con_RemoveExcludedCountry(IConsole::IResult *pResult, void *pUserData) |
| 176 | { |
nothing calls this directly
no test coverage detected