summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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 37253051..476450fd 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -1311,7 +1311,7 @@ static qboolean admin_create_ban( gentity_t *ent,
Q_strncpyz( b->name, netname, sizeof( b->name ) );
Q_strncpyz( b->guid, guid, sizeof( b->guid ) );
- memcpy( &b->ip, &ip, sizeof( b->ip ) );
+ memcpy( &b->ip, ip, sizeof( b->ip ) );
Com_sprintf( b->made, sizeof( b->made ), "%02i/%02i/%02i %02i:%02i:%02i",
qt.tm_mon + 1, qt.tm_mday, qt.tm_year % 100,