| 40 | Log(aBuf, pUser); |
| 41 | } |
| 42 | void CAntibot::Send(int ClientId, const void *pData, int Size, int Flags, void *pUser) |
| 43 | { |
| 44 | CAntibot *pAntibot = (CAntibot *)pUser; |
| 45 | |
| 46 | int RealFlags = MSGFLAG_VITAL; |
| 47 | if(Flags & ANTIBOT_MSGFLAG_NONVITAL) |
| 48 | { |
| 49 | RealFlags &= ~MSGFLAG_VITAL; |
| 50 | } |
| 51 | if(Flags & ANTIBOT_MSGFLAG_FLUSH) |
| 52 | { |
| 53 | RealFlags |= MSGFLAG_FLUSH; |
| 54 | } |
| 55 | pAntibot->Server()->SendMsgRaw(ClientId, pData, Size, RealFlags); |
| 56 | } |
| 57 | void CAntibot::Teehistorian(const void *pData, int Size, void *pUser) |
| 58 | { |
| 59 | CAntibot *pAntibot = (CAntibot *)pUser; |
no test coverage detected