Merge pull request #101 from ktpx/recent

inc size of name, max length names crash on addrecent due to buffer o…
This commit is contained in:
Thomas Arp
2022-03-25 00:03:13 +01:00
committed by GitHub

View File

@@ -1276,7 +1276,7 @@ struct happyhour {
struct recent_player
{
int vnum; /* The ID number for this instance */
char name[MAX_NAME_LENGTH]; /* The char name of the player */
char name[MAX_NAME_LENGTH+1];/* The char name of the player */
bool new_player; /* Is this a new player? */
bool copyover_player; /* Is this a player that was on during the last copyover? */
time_t time; /* login time */