diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-15 08:01:22 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-15 08:01:22 +0800 |
commit | 57a55751e6db4702375a0c9353b8d394450a6645 (patch) | |
tree | fdc2ac76b525f8695c5070416091ce02c126ebcf | |
parent | a891d6e74335d7e5c1885f74f4194a9090e72769 (diff) | |
download | pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar.gz pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar.bz2 pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar.lz pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar.xz pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.tar.zst pttbbs-57a55751e6db4702375a0c9353b8d394450a6645.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 675cccbb..6601dbd0 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -871,7 +871,11 @@ b_posttype(int ent, fileheader_t * fhdr, char *direct) if( posttype_f & (1<<i) ) { if(getdata(2, 20, "設定範本格式?(Y/n)", genbuf, 3, LCECHO) && - genbuf[0]=='n') continue; + genbuf[0]=='n') + { + posttype_f &= ~(1<<i); + continue; + } } else if (!getdata(2, 20, "設定範本格式?(y/N)", genbuf, 3, LCECHO) || genbuf[0]!='y') continue; |