summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-08 22:11:11 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:43 +0000
commit624f0fea63ec45305e7ea8c06d24e4d5a61cafd8 (patch)
tree2dec1366af9bf8d3669ff28a732654d2ba88ecd2 /src/game/g_admin.c
parent8bbeab8f5c799c60df647d8f6c637a12c09b5ce7 (diff)
* Fix crash when banning (thanks Rezyn)
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c1
1 files changed, 0 insertions, 1 deletions
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 ) )