diff options
-rw-r--r-- | pttbbs/mbbsd/angel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c index 964dd1bf..a2705d51 100644 --- a/pttbbs/mbbsd/angel.c +++ b/pttbbs/mbbsd/angel.c @@ -385,9 +385,9 @@ angel_log_order_song(const char *angel_nick) { char angel_exp[STRLEN]; syncnow(); - if (cuser.timesetangel > now) + if (cuser.timesetangel <= now) snprintf(angel_exp, sizeof(angel_exp), - "%d¤Ñ", (cuser.timesetangel - now) / DAY_SECONDS + 1); + "%d¤Ñ", (now - cuser.timesetangel) / DAY_SECONDS + 1); else strlcpy(angel_exp, "«Ü¤[", sizeof(angel_exp)); |