summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/board.c5
-rw-r--r--mbbsd/name.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 32d0c628..28b1bc71 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.81 2003/02/20 11:06:03 in2 Exp $ */
+/* $Id: board.c,v 1.82 2003/02/20 16:12:12 in2 Exp $ */
#include "bbs.h"
#define BRC_STRLEN 15 /* Length of board name */
#define BRC_MAXSIZE 24576
@@ -414,9 +414,6 @@ Ben_Perm(boardheader_t * bptr)
level = bptr->level;
brdattr = bptr->brdattr;
- if (brdattr & BRD_GROUPBOARD)
- return 0;
-
if (HAS_PERM(PERM_SYSOP))
return 1;
diff --git a/mbbsd/name.c b/mbbsd/name.c
index ef1a4c5f..b16f19ef 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -1,4 +1,4 @@
-/* $Id: name.c,v 1.15 2003/01/17 08:49:34 kcwu Exp $ */
+/* $Id: name.c,v 1.16 2003/02/20 16:12:13 in2 Exp $ */
#include "bbs.h"
static word_t *current = NULL;
@@ -674,7 +674,8 @@ completeboard_compar(int where, char *str, int len)
int
completeboard_permission(int where)
{
- return Ben_Perm(SHM->bsorted[0][where]);
+ return (Ben_Perm(SHM->bsorted[0][where]) &&
+ !(SHM->bsorted[0][where]->brdattr & BRD_GROUPBOARD));
}
char *