diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-07-08 14:55:07 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-07-08 14:55:07 +0800 |
commit | 3a9397871a4701e98818f4325e630a9d1d744c6f (patch) | |
tree | 513fe914c46995dcddcfd7b751f52a0f1e19a5b6 /mbbsd | |
parent | 1bbc108350cce991c081015da516ad230aa8fe58 (diff) | |
download | pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar.gz pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar.bz2 pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar.lz pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar.xz pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.tar.zst pttbbs-3a9397871a4701e98818f4325e630a9d1d744c6f.zip |
No reply on deleted post (not necessary to check here but this
prevent some runtime error happens later)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-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 c3081637..344c534f 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1396,7 +1396,7 @@ static int do_reply(/*const*/ fileheader_t * fhdr) { boardheader_t *bp; - if (!fhdr || !fhdr->filename[0]) + if (!fhdr || !fhdr->filename[0] || fhdr->owner[0] == '-') return DONOTHING; if (!CheckPostPerm() ) return DONOTHING; |