summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r--mbbsd/name.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index b657e854..60afab03 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -716,6 +716,15 @@ completeboard_permission(int where)
!(bptr->brdattr & BRD_GROUPBOARD));
}
+int
+complete_board_and_group_permission(int where)
+{
+ boardheader_t *bptr = &bcache[SHM->bsorted[0][where]];
+ return (!(bptr->brdattr & BRD_SYMBOLIC) &&
+ (GROUPOP() || HasPerm(bptr)));
+
+}
+
char *
completeboard_getname(int where)
{