summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-22 20:15:52 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-22 20:15:52 +0800
commit35717df2c4adcf1365447341fc6a8ecb87977e0f (patch)
tree1141844125df63443279a748c4d0d6ff4ce61c99
parente345432a104c536c910947dbfb1e7ba9deb8c665 (diff)
downloadpttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar.gz
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar.bz2
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar.lz
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar.xz
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.tar.zst
pttbbs-35717df2c4adcf1365447341fc6a8ecb87977e0f.zip
Wrong flag testing.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1556 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 44003d91..f24e503a 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1108,7 +1108,7 @@ cross_post(int ent, fileheader_t * fhdr, char *direct)
setbdir(fname, xboard);
append_record(fname, &xfile, sizeof(xfile));
bp = getbcache(getbnum(xboard));
- if (!xfile.filemode && !(bp->brdattr && BRD_NOTRAN))
+ if (!xfile.filemode && !(bp->brdattr & BRD_NOTRAN))
outgo_post(&xfile, xboard);
setbtotal(getbnum(xboard));
cuser.numposts++;