summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_admin.c6
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,