diff options
Diffstat (limited to 'src/game/g_namelog.c')
-rw-r--r-- | src/game/g_namelog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_namelog.c b/src/game/g_namelog.c index 53a3f5de..dfd8c712 100644 --- a/src/game/g_namelog.c +++ b/src/game/g_namelog.c @@ -70,6 +70,8 @@ void G_namelog_connect( gclient_t *client ) void G_namelog_disconnect( gclient_t *client ) { + if( client->pers.namelog == NULL ) + return; client->pers.namelog->slot = -1; client->pers.namelog = NULL; } |