diff options
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index ac713014..78507fee 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2978,9 +2978,10 @@ qboolean G_admin_buildlog( gentity_t *ent ) return qfalse; } - trap_SendServerCommand( -1, - va( "print \"^3buildlog: ^7%s^7 requested a log of recent building activity\n\"", - ent ? ent->client->pers.netname : "console" ) ); + if( ent && ent->client->pers.teamSelection != TEAM_NONE ) + trap_SendServerCommand( -1, + va( "print \"^3buildlog: ^7%s^7 requested a log of recent building activity\n\"", + ent->client->pers.netname ) ); ADMBP_begin(); for( i = start; i < level.buildId && printed < MAX_ADMIN_LISTITEMS; i++ ) |