summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 5ccefd87..d575e681 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -983,8 +983,10 @@ deleteCrossPost(const fileheader_t *fh, char *bname)
{
if(!fh || !fh->filename[0]) return;
- if(strcmp(bname, BN_ALLPOST) == 0 || strcmp(bname, BN_NEWIDPOST == 0) ||
- strcmp(bname, BN_ALLHIDPOST) == 0 || strcmp(bname, BN_UNANONYMOUS) == 0) {
+ if(strcmp(bname, BN_ALLPOST) == 0 ||
+ strcmp(bname, BN_ALLHIDPOST) == 0 ||
+ strcmp(bname, BN_NEWIDPOST) == 0 ||
+ strcmp(bname, BN_UNANONYMOUS) == 0 ) {
// These files (in BN_ALLPOST etc) has a '.BOARD' refrence in title
int len=0;
char xbname[TTLEN + 1], *po = strrchr(fh->title, '.');