summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/angel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/angel.c b/pttbbs/mbbsd/angel.c
index 1eda617c..964dd1bf 100644
--- a/pttbbs/mbbsd/angel.c
+++ b/pttbbs/mbbsd/angel.c
@@ -385,7 +385,7 @@ angel_log_order_song(const char *angel_nick) {
char angel_exp[STRLEN];
syncnow();
- if (cuser.timesetangel)
+ if (cuser.timesetangel > now)
snprintf(angel_exp, sizeof(angel_exp),
"%dĪŅ", (cuser.timesetangel - now) / DAY_SECONDS + 1);
else