summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-30 20:02:40 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-30 20:02:40 +0800
commit3c1ef2cfe54f9b1fd8893046d559630dd5356339 (patch)
tree2ec60784c42b858e9a24ca5b1f58b25212f828c5
parentb00ea38f9da4a419693ae4b98896dd9f6867060e (diff)
downloadpttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar.gz
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar.bz2
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar.lz
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar.xz
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.tar.zst
pttbbs-3c1ef2cfe54f9b1fd8893046d559630dd5356339.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1488 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 2dc1d08d..a7175101 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2304,9 +2304,9 @@ good_post(int ent, fileheader_t * fhdr, char *direct)
Link(genbuf2, genbuf);
strcpy(ptr, fn_mandex);
append_record(buf, &digest, sizeof(digest));
- getdata(1, 40, "好文值得出版到Ptt文摘?(y/N)", genbuf2, 3, LCECHO);
- if(genbuf2[0]=='y')
- do_crosspost("PttDigest", &digest, genbuf, digest.owner);
+ getdata(1, 0, "好文值得出版到Ptt文摘?(Y/n)", genbuf2, 3, LCECHO);
+ if(genbuf2[0]!='n')
+ do_crosspost("PttDigest", &digest, genbuf, fhdr->owner);
fhdr->filemode = (fhdr->filemode & ~FILE_MARKED) | FILE_DIGEST;
if (!strcmp(currboard, "Note") || !strcmp(currboard, "PttBug") ||