diff options
| author | Marius "Teelevision" Neugebauer <marius@teele.eu> | 2014-04-02 21:52:04 +0200 |
|---|---|---|
| committer | Marius "Teelevision" Neugebauer <marius@teele.eu> | 2014-04-02 21:52:04 +0200 |
| commit | 573cf0cec0f3e4027fa532ab3fbc67071dab141c (patch) | |
| tree | 9e289b881aafb572cbed0fd1cd261a77039b683d /src/game/server | |
| parent | 5198861147eef7d2610a9ddca19441c3d7b832b9 (diff) | |
| download | zcatch-573cf0cec0f3e4027fa532ab3fbc67071dab141c.tar.gz zcatch-573cf0cec0f3e4027fa532ab3fbc67071dab141c.zip | |
shorten the bot message to admins to one line
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/gamecontext.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 01e289cf..07e405bc 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -599,16 +599,10 @@ void CGameContext::OnTick() p->m_IsAimBot = Server()->Tick(); // alert the admins char aBuf[128]; - str_format(aBuf, sizeof(aBuf), "'%s' might be botting", Server()->ClientName(i)); + str_format(aBuf, sizeof(aBuf), "+++ '%s' (id=%d) might be botting +++", Server()->ClientName(i), i); for(int j = 0; j < MAX_CLIENTS; ++j) - { if(Server()->IsAuthed(j)) - { - SendChatTarget(j, "### @ADMIN ###"); SendChatTarget(j, aBuf); - SendChatTarget(j, "##############"); - } - } } // reduce once every 2 seconds (tolerance) |