diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index f44d4fb7..7798d8c0 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -2733,13 +2733,7 @@ qboolean G_admin_namelog( gentity_t *ent, int skiparg ) { G_SanitiseString( n->name[ j ], n2, sizeof( n2 ) ); if( strstr( n2, s2 ) ) - { - G_SanitiseString( n->name[ j ], n2, sizeof( n2 ) ); - if( strstr( n2, s2 ) ) - { - break; - } - } + break; } if( j == MAX_ADMIN_NAMELOG_NAMES || !n->name[ j ][ 0 ] ) continue; |