summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-15 13:35:43 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-15 13:35:43 +0800
commit4e2113e512a86cf56cba11062de13cc6b496ab50 (patch)
treea6ef32170d89e6f93c701f98ae7afe0785fdb7a7 /mbbsd/bbs.c
parent500d5247ef4f6b4ab3a14c8b68538c126db5b3e9 (diff)
downloadpttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar.gz
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar.bz2
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar.lz
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar.xz
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.tar.zst
pttbbs-4e2113e512a86cf56cba11062de13cc6b496ab50.zip
- bbs: prevent repeated showing board_enter_notes
- bbs: make commenting warnings more clear. - menu: make newmail message more clear. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3998 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 35c3b640..499ecd9f 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2835,7 +2835,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
{
move(ymsg--, 0); clrtoeol();
outs(ANSI_COLOR(1;31)
- "◆這篇文章來自外站轉信板,原作者可能無法看到推文。"
+ "◆這篇文章來自暱名板或外站轉信板,原作者可能無法看到推文。"
ANSI_RESET "\n");
}
@@ -3905,6 +3905,7 @@ Read(void)
{
int mode0 = currutmp->mode;
int stat0 = currstat, tmpbid = currutmp->brc_id;
+ static int lastbid = -1;
char buf[PATHLEN];
#ifdef LOG_BOARD
time4_t usetime = now;
@@ -3916,7 +3917,8 @@ Read(void)
setutmpmode(READING);
- if (board_note_time && board_visit_time < *board_note_time) {
+ if (currbid != lastbid &&
+ board_note_time && board_visit_time < *board_note_time) {
int mr;
setbfile(buf, currboard, fn_notes);
@@ -3926,6 +3928,7 @@ Read(void)
else if (mr != READ_NEXT)
pressanykey();
}
+ lastbid = currbid;
i_read(READING, currdirect, readtitle, readdoent, read_comms,
currbid);
currmode &= ~MODE_POSTCHECKED;