From d75e1bf156002b55459871d19724428f5ac465cb Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 12 Nov 2004 22:09:18 +0000 Subject: [PATCH] print botclient as address in status reports for clients with no netconnection git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4739 d7cf8633-e32d-0410-b094-e92efae38249 --- host_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host_cmd.c b/host_cmd.c index a6b67ca6..91aefcb1 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -96,7 +96,7 @@ void Host_Status_f (void) else hours = 0; print ("#%-2u %-16.16s %3i %2i:%02i:%02i\n", j+1, client->name, (int)client->edict->v->frags, hours, minutes, seconds); - print (" %s\n", client->netconnection->address); + print (" %s\n", client->netconnection ? client->netconnection->address : "botclient"); } } -- 2.39.2