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
commit 95d4da4972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 */