From 877afb48f0c476dd0515e8e7d1857e8787e12158 Mon Sep 17 00:00:00 2001 From: in2 Date: Thu, 20 Feb 2003 11:06:03 +0000 Subject: one could not enter into group board git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@668 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/board.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index 52fef094..32d0c628 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/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; -- cgit v1.2.3