diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 22:15:05 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-28 22:15:05 +0800 |
commit | f70549636d72d203ed0f50fb66688319c3fcb878 (patch) | |
tree | 0dc6840fb974b8fc0c6f148761e16852c839c74e /mbbsd/cache.c | |
parent | 2230c0a8c5a4eb2397673d37e709454195c5e284 (diff) | |
download | pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.gz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.bz2 pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.lz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.xz pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.tar.zst pttbbs-f70549636d72d203ed0f50fb66688319c3fcb878.zip |
* modify more APIs
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4784 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r-- | mbbsd/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c index e56c162a..e9d057c4 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -160,7 +160,7 @@ int is_BM_cache(int bid) /* bid starts from 1 */ { // auto enable BM permission if (!HasUserPerm(PERM_BM)) - cuser.userlevel |= PERM_BM; + pwcuBitSetLevel(PERM_BM); return 1; } return 0; |