diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-24 11:31:44 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-24 11:31:44 +0800 |
commit | 9babe26b4f858e481463edd43290059bcd2717bd (patch) | |
tree | 78c5376e6347baf636d36882ada4093b0b1da2f3 /mbbsd/user.c | |
parent | 30990df77ad6872f26b8180145cad86ba0fba00b (diff) | |
download | pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar.gz pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar.bz2 pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar.lz pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar.xz pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.tar.zst pttbbs-9babe26b4f858e481463edd43290059bcd2717bd.zip |
- fix user over18 display in admin's user_display.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4014 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index d235d01f..500cfe7a 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -153,7 +153,8 @@ user_display(const userec_t * u, int adminmode) " 生 日: %04i/%02i/%02i (%s滿18歲)\n", get_num_records(genbuf, sizeof(fileheader_t)), u->exmailbox, u->mobile, - u->year + 1900, u->month, u->day, over18 ? "已" : "未" + u->year + 1900, u->month, u->day, + resolve_over18_user(u) ? "已" : "未" ); #ifdef ASSESS |