diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-03 12:38:45 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:08 +0000 |
commit | e806885fc3cff2a6355db73684e8f3d7058f5d3c (patch) | |
tree | ac4f538bd8b80c2f89eb4de844bab98223fc94ef /src/game | |
parent | 8373b62e39599d7b27bf150735298863b19487cb (diff) |
* Partially revert rev 1182 (null deref)
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 43ca0400..851ec077 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -681,7 +681,8 @@ static void admin_log( gentity_t *admin, char *cmd, int skiparg ) tens, sec, ( admin ) ? admin->s.clientNum : -1, - admin->client->pers.guid, + ( admin ) ? admin->client->pers.guid + : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", ( admin ) ? admin->client->pers.netname : "console", flags, cmd, @@ -697,7 +698,8 @@ static void admin_log( gentity_t *admin, char *cmd, int skiparg ) tens, sec, ( admin ) ? admin->s.clientNum : -1, - admin->client->pers.guid, + ( admin ) ? admin->client->pers.guid + : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", ( admin ) ? admin->client->pers.netname : "console", flags, cmd, |