diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-20 19:06:03 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-20 19:06:03 +0800 |
commit | b19af1051a701ce07f7275d35ce05821a680226d (patch) | |
tree | d2f1eb9ed33b9d1cf80b26876e97ccf325370573 /mbbsd | |
parent | 7d11ef18cb86c40453fc326ba79aaf2e1a43bacf (diff) | |
download | pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar.gz pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar.bz2 pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar.lz pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar.xz pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.tar.zst pttbbs-b19af1051a701ce07f7275d35ce05821a680226d.zip |
one could not enter into group board
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 52fef094..32d0c628 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.80 2003/01/19 01:44:49 in2 Exp $ */ +/* $Id: board.c,v 1.81 2003/02/20 11:06:03 in2 Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -414,6 +414,9 @@ Ben_Perm(boardheader_t * bptr) level = bptr->level; brdattr = bptr->brdattr; + if (brdattr & BRD_GROUPBOARD) + return 0; + if (HAS_PERM(PERM_SYSOP)) return 1; |