summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mail.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index cfae7f73..3d6c9324 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1070,12 +1070,8 @@ mail_cross_post(int ent, fileheader_t * fhdr, const char *direct)
}
#ifdef USE_COOLDOWN
- if ( !((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP)) &&
- ((bcache[ent - 1].brdattr & BRD_COOLDOWN) && now < cooldowntimeof(usernum)) ) {
- move(5, 10);
- vmsg("§NÀR¤@¤U§a¡I");
- return FULLUPDATE;
- }
+ if(check_cooldown(&bcache[ent - 1]))
+ return READ_REDRAW;
#endif
ent = 1;