diff options
| author | oy <Tom_Adams@web.de> | 2010-10-13 20:31:21 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-13 20:31:21 +0200 |
| commit | fa768449e28b2ad494eb4d2340886583599805ec (patch) | |
| tree | f474c330d68d6bd52881161cb45c3419bd21d909 /src/game/client/components | |
| parent | be315edfc052a5aa1c7d9d48394e0997a989c8ae (diff) | |
| download | zcatch-fa768449e28b2ad494eb4d2340886583599805ec.tar.gz zcatch-fa768449e28b2ad494eb4d2340886583599805ec.zip | |
fixed issue with reason on forcevotekick
Diffstat (limited to 'src/game/client/components')
| -rw-r--r-- | src/game/client/components/voting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index 8a98e1b0..59f6d934 100644 --- a/src/game/client/components/voting.cpp +++ b/src/game/client/components/voting.cpp @@ -59,7 +59,7 @@ void CVoting::ForcevoteKick(int ClientId, const char *pReason) { char aBuf[32]; if(pReason[0]) - str_format(aBuf, sizeof(aBuf), "kick %d \"%s\"", ClientId, pReason); + str_format(aBuf, sizeof(aBuf), "kick %d %s", ClientId, pReason); else str_format(aBuf, sizeof(aBuf), "kick %d", ClientId); Client()->Rcon(aBuf); |