diff options
-rw-r--r-- | mbbsd/name.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index 9fe2ce97..4ae7f48d 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -666,8 +666,10 @@ completeboard_compar(int where, char *str, int len) int completeboard_permission(int where) { - return ((GROUPOP() || HasPerm(SHM->bsorted[0][where])) && - !(SHM->bsorted[0][where]->brdattr & BRD_GROUPBOARD)); + boardheader_t *bptr = &SHM->bsorted[0][where]; + return (!(bptr->brdattr & BRD_SYMBOLIC) && + (GROUPOP() || HasPerm(bptr)) && + !(bptr->brdattr & BRD_GROUPBOARD)); } char * |