From 40e08de1ca0b9e4cde7493fff3e8f2a73e1900f7 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 17 Mar 2010 06:14:07 +0000 Subject: * Fix a bug preventing IP bans from matching --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit