aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/server/sv_client.c')
-rw-r--r--code/server/sv_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index 8d30f54..1277c1d 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -478,7 +478,7 @@ void SV_DropClient( client_t *drop, const char *reason ) {
return; // already dropped
}
- if ( !drop->gentity || !(drop->gentity->r.svFlags & SVF_BOT) ) {
+ if (drop->netchan.remoteAddress.type != NA_BOT) {
// see if we already have a challenge for this ip
challenge = &svs.challenges[0];