diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-07 13:49:13 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-07 13:49:13 +0800 |
commit | 64fa801fe4bd90430d601b72376a3eb74d7639fa (patch) | |
tree | 9d26964ba0179c7fb45cd377dc854d84124a5b8a /mbbsd/bbs.c | |
parent | 4090fbd716e44c899e25e4bfa3d1376620051b62 (diff) | |
download | pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar.gz pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar.bz2 pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar.lz pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar.xz pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.tar.zst pttbbs-64fa801fe4bd90430d601b72376a3eb74d7639fa.zip |
code cleanup
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index defd0061..bb7d7f9a 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1436,7 +1436,7 @@ del_post(int ent, fileheader_t * fhdr, char *direct) return DONOTHING; getdata(1, 0, msg_del_ny, genbuf, 3, LCECHO); - if (genbuf[0] == 'y' || genbuf[0] == 'Y') { + if (genbuf[0] == 'y') { strlcpy(currfile, fhdr->filename, sizeof(currfile)); if (!delete_file(direct, sizeof(fileheader_t), ent, cmpfilename)) { if (currmode & MODE_SELECT) { |