diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-29 15:56:24 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-29 15:56:24 +0800 |
commit | d509c57b362be90ad2c4cb9dca3ecf160bfca64a (patch) | |
tree | c1db70c521b2662361fd56ceb1a1d8b218e7f29a /mbbsd/cache.c | |
parent | 697b8cd20d01673c57d02d081eb7458eec29b3ee (diff) | |
download | pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar.gz pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar.bz2 pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar.lz pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar.xz pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.tar.zst pttbbs-d509c57b362be90ad2c4cb9dca3ecf160bfca64a.zip |
still in development
git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.symblic@1572 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r-- | mbbsd/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c index cacdb1d7..ff409191 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -667,7 +667,7 @@ reset_board(int bid) /* XXXbid: from 1 */ } } -#ifndef _BBS_UTIL_C_ /* because of Ben_Perm() in board.c */ +#ifndef _BBS_UTIL_C_ /* because of HasPerm() in board.c */ int apply_boards(int (*func) (boardheader_t *)) { @@ -675,7 +675,7 @@ apply_boards(int (*func) (boardheader_t *)) register boardheader_t *bhdr; for (i = 0, bhdr = bcache; i < numboards; i++, bhdr++) { - if (!(bhdr->brdattr & BRD_GROUPBOARD) && Ben_Perm(bhdr) && + if (!(bhdr->brdattr & BRD_GROUPBOARD) && HasPerm(bhdr) && (*func) (bhdr) == QUIT) return QUIT; } |