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:
@@ -1276,7 +1276,7 @@ struct happyhour {
|
|||||||
struct recent_player
|
struct recent_player
|
||||||
{
|
{
|
||||||
int vnum; /* The ID number for this instance */
|
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 new_player; /* Is this a new player? */
|
||||||
bool copyover_player; /* Is this a player that was on during the last copyover? */
|
bool copyover_player; /* Is this a player that was on during the last copyover? */
|
||||||
time_t time; /* login time */
|
time_t time; /* login time */
|
||||||
|
|||||||
Reference in New Issue
Block a user