summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-29 23:53:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-29 23:53:49 +0800
commit9d9efb47decf91be83230ff1f2318d6f2d981265 (patch)
tree8e054b1b87412d3338a6b121f4877883ec6f6ef2 /mbbsd/cache.c
parent6b2f2f3e275322f0cfeccf57d35350edae0de6a0 (diff)
downloadpttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar.gz
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar.bz2
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar.lz
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar.xz
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.tar.zst
pttbbs-9d9efb47decf91be83230ff1f2318d6f2d981265.zip
* (pwcu branch) code refine
* also changed numlogin formula to 'only increase max to one per each day', which allow us to update the value in login state instead of logout stage git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4792 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index e9d057c4..cac2135c 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))
- pwcuBitSetLevel(PERM_BM);
+ pwcuBitEnableLevel(PERM_BM);
return 1;
}
return 0;