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 | d3e9df669620ab9a42301e8bf1b24a3273eae520 (patch) | |
tree | 94642ba9f6e02bd2fd1eb6ee1c62d5eb7947172d | |
parent | 7b063c6a924c53480bcc5fbfa1c2bd29e6512e0a (diff) | |
download | pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar.gz pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar.bz2 pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar.lz pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar.xz pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.tar.zst pttbbs-d3e9df669620ab9a42301e8bf1b24a3273eae520.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1347 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 675cccbb..6601dbd0 100644 --- a/mbbsd/bbs.c +++ b/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; |