From: havoc Date: Fri, 12 Nov 2004 22:09:18 +0000 (+0000) Subject: print botclient as address in status reports for clients with no netconnection X-Git-Tag: xonotic-v0.1.0preview~5391 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=d75e1bf156002b55459871d19724428f5ac465cb;p=xonotic%2Fdarkplaces.git 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 --- 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"); } }