From 09b37d07f5ee3e3000f666a2d7163e7607745b6d Mon Sep 17 00:00:00 2001 From: Vatiken Date: Wed, 16 Jan 2013 00:39:22 +0000 Subject: [PATCH] Bug: Supplied fix for dupe_check function --- src/interpreter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/interpreter.c b/src/interpreter.c index 025ac29..e31c87d 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -1184,6 +1184,9 @@ static bool perform_new_char_dupe_check(struct descriptor_data *d) if (k == d) continue; + if (k->character == NULL) + continue; + /* Do the player names match? */ if (!strcmp(GET_NAME(k->character), GET_NAME(d->character))) { /* Check the other character is still in creation? */