diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 23:53:49 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 23:53:49 +0800 |
commit | 9d9efb47decf91be83230ff1f2318d6f2d981265 (patch) | |
tree | 8e054b1b87412d3338a6b121f4877883ec6f6ef2 /include | |
parent | 6b2f2f3e275322f0cfeccf57d35350edae0de6a0 (diff) | |
download | pttbbs-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 'include')
-rw-r--r-- | include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index bd547eea..6b14f475 100644 --- a/include/proto.h +++ b/include/proto.h @@ -693,8 +693,8 @@ int passwd_sync_update (int num, userec_t * buf); int passwd_sync_query (int num, userec_t * buf); // current user help utilities -int pwcuBitSetLevel (unsigned int mask); -int pwcuBitUnsetLevel (unsigned int mask); +int pwcuBitEnableLevel (unsigned int mask); +int pwcuBitDisableLevel (unsigned int mask); int pwcuIncNumPost (); int pwcuDecNumPost (); int pwcuSetGoodPost (unsigned int newgp); |