diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-08 22:11:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:43 +0000 |
commit | 624f0fea63ec45305e7ea8c06d24e4d5a61cafd8 (patch) | |
tree | 2dec1366af9bf8d3669ff28a732654d2ba88ecd2 /src/game | |
parent | 8bbeab8f5c799c60df647d8f6c637a12c09b5ce7 (diff) |
* Fix crash when banning (thanks Rezyn)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 1 |
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 ) ) |