From 624f0fea63ec45305e7ea8c06d24e4d5a61cafd8 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Thu, 8 Oct 2009 22:11:11 +0000 Subject: * Fix crash when banning (thanks Rezyn) --- src/game/g_admin.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/game/g_admin.c') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 3bee21af..8df377ea 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -827,7 +827,6 @@ qboolean G_admin_ban_check( gentity_t *ent, char *reason, int rlen ) addr_t ip, test; int mask = -1; - *reason = '\0'; t = trap_RealTime( NULL ); // this happens when ip = localhost if( !G_AddressParse( ent->client->pers.ip, &ip, NULL ) ) -- cgit