diff options
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index f6f99cbb..5137f126 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1174,6 +1174,7 @@ static void init_guest_info(void) sizeof(currutmp->nickname)); strlcpy(cuser.realname, name[(int)i], sizeof(cuser.realname)); strlcpy(cuser.address, addr[(int)i], sizeof(cuser.address)); + memset(cuser.mind, 0, sizeof(cuser.mind)); cuser.sex = i % 8; currutmp->pager = PAGER_DISABLE; } |