console_cmds.c
changeset 4085 43c7d1dd1bfd
parent 4077 d3022f976946
child 4184 f38abcb8b18d
--- a/console_cmds.c	Wed Jun 28 06:21:03 2006 +0000
+++ b/console_cmds.c	Wed Jun 28 06:46:15 2006 +0000
@@ -548,7 +548,7 @@
 		const NetworkClientInfo *ci = DEREF_CLIENT_INFO(cs);
 		const char* status;
 
-		status = (cs->status <= lengthof(stat_str) ? stat_str[cs->status] : "unknown");
+		status = (cs->status < lengthof(stat_str) ? stat_str[cs->status] : "unknown");
 		IConsolePrintF(8, "Client #%1d  name: '%s'  status: '%s'  frame-lag: %3d  company: %1d  IP: %s  unique-id: '%s'",
 			cs->index, ci->client_name, status, lag, ci->client_playas, GetPlayerIP(ci), ci->unique_id);
 	}