| 173 | } |
| 174 | |
| 175 | void CServerBan::ConBanRegionRange(IConsole::IResult *pResult, void *pUser) |
| 176 | { |
| 177 | CServerBan *pServerBan = static_cast<CServerBan *>(pUser); |
| 178 | |
| 179 | const char *pRegion = pResult->GetString(0); |
| 180 | if(str_comp_nocase(pRegion, g_Config.m_SvRegionName)) |
| 181 | return; |
| 182 | |
| 183 | pResult->RemoveArgument(0); |
| 184 | ConBanRange(pResult, static_cast<CNetBan *>(pServerBan)); |
| 185 | } |
| 186 | |
| 187 | // Not thread-safe! |
| 188 | class CRconClientLogger : public ILogger |
nothing calls this directly
no test coverage detected