diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-10-27 00:42:14 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-10-27 00:42:14 +0800 |
commit | d839e1ec58637953063cc89b73cc0ceab8b3880d (patch) | |
tree | 56591bada4b1139673926699a309f6517fefbeed /mbbsd/name.c | |
parent | 5417ac4001f50bf42edec20af139537db4e5311a (diff) | |
download | pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar.gz pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar.bz2 pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar.lz pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar.xz pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.tar.zst pttbbs-d839e1ec58637953063cc89b73cc0ceab8b3880d.zip |
BRD_OVER18 patch. see http://www.ticrf.org.tw for details
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3231 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r-- | mbbsd/name.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index 8fd78fb7..aafc4cc6 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -762,7 +762,8 @@ 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_GROUPBOARD) && + !(bptr->brdattr & BRD_OVER18 && !over18)); } int |