| 145 | } |
| 146 | |
| 147 | void CServerBrowser::Con_AddExcludedCommunity(IConsole::IResult *pResult, void *pUserData) |
| 148 | { |
| 149 | CServerBrowser *pThis = static_cast<CServerBrowser *>(pUserData); |
| 150 | const char *pCommunityId = pResult->GetString(0); |
| 151 | if(!pThis->ValidateCommunityId(pCommunityId)) |
| 152 | return; |
| 153 | pThis->CommunitiesFilter().Add(pCommunityId); |
| 154 | } |
| 155 | |
| 156 | void CServerBrowser::Con_RemoveExcludedCommunity(IConsole::IResult *pResult, void *pUserData) |
| 157 | { |
nothing calls this directly
no test coverage detected