diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-10 23:36:08 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-10 23:36:08 +0800 |
commit | b0f507a8e1e368a31ab45baff849a5d064350527 (patch) | |
tree | 8bb746e2046145487163b06b11dcae6f6f948eb3 | |
parent | 17c1ff808167979cb1bd3321807009859f9e0558 (diff) | |
download | pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar.gz pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar.bz2 pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar.lz pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar.xz pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.tar.zst pttbbs-b0f507a8e1e368a31ab45baff849a5d064350527.zip |
- over18 check is redundent in complete check.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3984 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/name.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index 1ccab86a..4e9d7134 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -1024,8 +1024,7 @@ completeboard_permission(int where) boardheader_t *bptr = &bcache[SHM->bsorted[0][where]]; return (!(bptr->brdattr & BRD_SYMBOLIC) && (GROUPOP() || HasBoardPerm(bptr)) && - !(bptr->brdattr & BRD_GROUPBOARD) && - !((bptr->brdattr & BRD_OVER18) && !over18)); + !(bptr->brdattr & BRD_GROUPBOARD)); } int |