summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-14 22:43:16 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-14 22:43:16 +0800
commitf56edcef27f508e17fc570d1ed111ea5c7ebf322 (patch)
tree3d4d3fbc1086f4b67059e0d3aff5e3149e5e71f4 /mbbsd
parent7b58c08bb62ec632c1c5aae32f818bedeac4f206 (diff)
downloadpttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar.gz
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar.bz2
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar.lz
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar.xz
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.tar.zst
pttbbs-f56edcef27f508e17fc570d1ed111ea5c7ebf322.zip
fix one typo i > 2 not i > 1
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1982 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 06bed32e..0496bdce 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1529,16 +1529,16 @@ recommend(int ent, fileheader_t * fhdr, char *direct)
type = vmsg_lines(b_lines-2, "您要對這篇文章 1.推薦 2.噓聲 [1]?") - '1';
if (fhdr->recommend == 0 && strcmp(cuser.userid, fhdr->owner) == 0){
- vmsg("本人不能推薦或噓第一次! 自動改以加註方式不計分.");
+ mouts(b_lines-1, 0, "本人推薦或噓第一次, 改以 → 加註方式");
type = 2;
}
#ifndef DEBUG
- if (!(currmode & MODE_BOARD)&& now - lastrecommend < 40) {
- vmsg("時間太近, 請仔細閱\讀文章! 自動改以加註方式不計分.");
+ if (!(currmode & MODE_BOARD)&& now - lastrecommend < 90) {
+ mouts(b_lines-1, 0,"推薦時間太近, 改以 → 加註方式");
type = 2;
}
#endif
- if(type > 1 || type < 0) type = 0;
+ if(type > 2 || type < 0) type = 0;
if (!getdata(b_lines - 2, 0, "要說的話:", path, 40, DOECHO) ||
path == NULL || getans("確定要\033[%s\033[m嗎? 請仔細考慮(Y/N)?[n]", ctype[type])!='y')