| 3496 | } |
| 3497 | |
| 3498 | void CServer::ConKick(IConsole::IResult *pResult, void *pUser) |
| 3499 | { |
| 3500 | if(pResult->NumArguments() > 1) |
| 3501 | { |
| 3502 | char aBuf[128]; |
| 3503 | str_format(aBuf, sizeof(aBuf), "Kicked (%s)", pResult->GetString(1)); |
| 3504 | ((CServer *)pUser)->Kick(pResult->GetInteger(0), aBuf); |
| 3505 | } |
| 3506 | else |
| 3507 | ((CServer *)pUser)->Kick(pResult->GetInteger(0), "Kicked by console"); |
| 3508 | } |
| 3509 | |
| 3510 | void CServer::ConStatus(IConsole::IResult *pResult, void *pUser) |
| 3511 | { |
nothing calls this directly
no test coverage detected