mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-23 03:51:52 +01:00
Bug: Supplied fix for dupe_check function
This commit is contained in:
@@ -1184,6 +1184,9 @@ static bool perform_new_char_dupe_check(struct descriptor_data *d)
|
|||||||
if (k == d)
|
if (k == d)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (k->character == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
/* Do the player names match? */
|
/* Do the player names match? */
|
||||||
if (!strcmp(GET_NAME(k->character), GET_NAME(d->character))) {
|
if (!strcmp(GET_NAME(k->character), GET_NAME(d->character))) {
|
||||||
/* Check the other character is still in creation? */
|
/* Check the other character is still in creation? */
|
||||||
|
|||||||
Reference in New Issue
Block a user