diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-21 00:12:13 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-21 00:12:13 +0800 |
commit | bc8f6cabd574ecfeaec6318f4fb13626147bce94 (patch) | |
tree | 7c64be8d756d7efe6fa160fdce15e65aa7c89b4e /mbbsd/name.c | |
parent | b19af1051a701ce07f7275d35ce05821a680226d (diff) | |
download | pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar.gz pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar.bz2 pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar.lz pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar.xz pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.tar.zst pttbbs-bc8f6cabd574ecfeaec6318f4fb13626147bce94.zip |
fix last commit bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@669 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r-- | mbbsd/name.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 * |