| 136 | } |
| 137 | |
| 138 | void CServerBrowser::Con_RemoveFavoriteCommunity(IConsole::IResult *pResult, void *pUserData) |
| 139 | { |
| 140 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 141 | const char *pCommunityId = pResult->GetString(0); |
| 142 | if(!pThis->ValidateCommunityId(pCommunityId)) |
| 143 | return; |
| 144 | pThis->FavoriteCommunitiesFilter().Remove(pCommunityId); |
| 145 | } |
| 146 | |
| 147 | void CServerBrowser::Con_AddExcludedCommunity(IConsole::IResult *pResult, void *pUserData) |
| 148 | { |
nothing calls this directly
no test coverage detected