diff options
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index ce93aecf..f294247b 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -91,9 +91,9 @@ int u_cancelbadpost(void) pwcuReload(); // early check for time (must do again later) - day = 180 - (now - cuser.timeremovebadpost ) / DAY_SECONDS; - if(day>0 && day<=180) { - vmsgf("每 180 天才能申請一次, 還剩 %d 天.", day); + day = BADPOST_CLEAR_DURATION - (now - cuser.timeremovebadpost ) / DAY_SECONDS; + if(day>0 && day<=BADPOST_CLEAR_DURATION) { + vmsgf("每 %d 天才能申請一次, 還剩 %d 天.", BADPOST_CLEAR_DURATION, day); return 0; } |