diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 13:39:47 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-28 13:39:47 +0800 |
commit | 7e6208a021bc404aaeb782669b7c403160a4c8d8 (patch) | |
tree | 2ac69b5b4c4c4e453ab5a85346e0cfd10dfe566e /mbbsd/register.c | |
parent | 0454427012fc548d888d7318ba78eea8e9de78fb (diff) | |
download | pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar.gz pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar.bz2 pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar.lz pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar.xz pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.tar.zst pttbbs-7e6208a021bc404aaeb782669b7c403160a4c8d8.zip |
- user: allow admins to change email to 'invalid'.
- admin: try to solve "registration failed if user is online"
- register: fix display for expired accounts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r-- | mbbsd/register.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index a9b5e911..9d0b6852 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -228,7 +228,8 @@ new_register(void) if (minute == 999999) // XXX magic number. It should be greater than MAX_USERS at least. outs("此代號已經有人使用 是不死之身"); else { - prints("此代號已經有人使用 還有%d天才過期 \n", minute / (60 * 24)); + prints("此代號已經有人使用 還有 %d 天才過期 \n", + minute / (60 * 24) + 1); } } else break; |