diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/name.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c index 5c04a54a..4466c462 100644 --- a/mbbsd/name.c +++ b/mbbsd/name.c @@ -670,11 +670,9 @@ completeboard_compar(int where, char *str, int len) { return strncasecmp(SHM->bsorted[0][where]->brdname, str, len); } - -int completeboard_permission(int where) { - return (Ben_Perm(SHM->bsorted[0][where]) && + return (((currmode & MODE_MENU) || Ben_Perm(SHM->bsorted[0][where])) && !(SHM->bsorted[0][where]->brdattr & BRD_GROUPBOARD)); } |