summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 73fe3060..104fdc45 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -302,7 +302,7 @@ qboolean G_admin_name_check( gentity_t *ent, char *name, char *err, int len )
continue;
G_SanitiseName( client->pers.netname, testName );
- if( !Q_stricmp( name, testName ) )
+ if( !Q_stricmp( name2, testName ) )
{
Q_strncpyz( err, va( "The name '%s^7' is already in use", name ),
len );