summaryrefslogtreecommitdiff
path: root/src/server/sv_client.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-01-24 22:07:34 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:54 +0000
commitf96ae257eab6fae9b4b4f4409c58dbce6915ac35 (patch)
treec9828a3c3726d4b260493a710fd1f2f9f7bc6056 /src/server/sv_client.c
parenta0101a6294268ef392b3fa4ecad12706e6cf4cf3 (diff)
* Merge ioq3-r1813
Diffstat (limited to 'src/server/sv_client.c')
-rw-r--r--src/server/sv_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c
index 1448822c..815bf4db 100644
--- a/src/server/sv_client.c
+++ b/src/server/sv_client.c
@@ -1272,7 +1272,7 @@ void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK ) {
if (clientOK) {
// pass unknown strings to the game
- if (!u->name && sv.state == SS_GAME) {
+ if (!u->name && sv.state == SS_GAME && cl->state == CS_ACTIVE) {
VM_Call( gvm, GAME_CLIENT_COMMAND, cl - svs.clients );
}
}