summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 98953e2..960f4df 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -3506,7 +3506,7 @@ void G_admin_IPA_judgement( const char *ipa, int rating, const char *comment )
else
j->comment = NULL;
- if( g_admin_namelog[ i ]->slot )
+ if( g_admin_namelog[ i ]->slot != -1 )
admin_autobahn( g_entities + g_admin_namelog[ i ]->slot, j->rating );
}
}