summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 44b6f07..70a069d 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -3122,7 +3122,7 @@ qboolean G_admin_sm( gentity_t *ent, int skiparg )
return qfalse;
}
- snprintf( ipa, sizeof( ipa ), "%i.%i.%i.%i", parts[0], parts[1], parts[2], parts[3] );
+ Com_sprintf( ipa, sizeof( ipa ), "%i.%i.%i.%i", parts[0], parts[1], parts[2], parts[3] );
if( rand() % 2 /* FIXME cache hit */ )
{