diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-11-21 22:00:03 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-11-21 22:00:03 +0800 |
commit | fb6985bd6efb1e30060f475c339e08e27becf323 (patch) | |
tree | f581c9ace51d7757a2421a1aaa2e4df67645aeb9 | |
parent | 2716a3fb86d6f43d6b35392a0ce5590699779ff3 (diff) | |
download | pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar.gz pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar.bz2 pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar.lz pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar.xz pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.tar.zst pttbbs-fb6985bd6efb1e30060f475c339e08e27becf323.zip |
remove deadc0de for deprecated feature
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3247 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 18 | ||||
-rw-r--r-- | mbbsd/var.c | 1 |
2 files changed, 4 insertions, 15 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 8b1778f8..a8badf0a 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -140,8 +140,6 @@ save_violatelaw(void) * void make_blist() { CreateNameList(); apply_boards(g_board_names); } */ -static time4_t *board_note_time = NULL; - void set_board(void) { @@ -160,8 +158,6 @@ set_board(void) hbflcheck((int)(bp - bcache) + 1, currutmp->uid) ) vmsg("進入未經授權看板"); - board_note_time = &bp->bupdate; - if(bp->BM[0] <= ' ') strcpy(currBM, "徵求中"); else @@ -3404,7 +3400,7 @@ Read(void) { int mode0 = currutmp->mode; int stat0 = currstat, tmpbid = currutmp->brc_id; - char buf[40]; + char buf[PATHLEN]; #ifdef LOG_BOARD time4_t usetime = now; #endif @@ -3415,16 +3411,10 @@ Read(void) setutmpmode(READING); set_board(); - if (board_note_time && board_visit_time < *board_note_time) { - int mr = 0; + setbfile(buf, currboard, fn_notes); + if (more(buf, NA) != READ_NEXT) + pressanykey(); - setbfile(buf, currboard, fn_notes); - mr = more(buf, NA); - if(mr == -1) - *board_note_time=0; - else if (mr != READ_NEXT) - pressanykey(); - } setutmpbid(currbid); setbdir(buf, currboard); curredit &= ~EDIT_MAIL; diff --git a/mbbsd/var.c b/mbbsd/var.c index e44abd9d..15aea968 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -377,7 +377,6 @@ char currdirect[64]; char save_title[STRLEN]; /* bbs.c */ -time4_t board_visit_time = 0; char real_name[IDLEN + 1]; char local_article; |