diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 22:31:57 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-29 22:31:57 +0800 |
commit | 6b2f2f3e275322f0cfeccf57d35350edae0de6a0 (patch) | |
tree | b430757aeebfdbf35b532349ca46ca7bbd144685 /mbbsd/passwd.c | |
parent | 3a5906defc274d40f0e58eec77048cdeb8ad64fa (diff) | |
download | pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar.gz pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar.bz2 pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar.lz pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar.xz pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.tar.zst pttbbs-6b2f2f3e275322f0cfeccf57d35350edae0de6a0.zip |
* (pwcu branch) remove the 'goodpost' ~ I love this commit.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4791 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r-- | mbbsd/passwd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c index 5803b5b8..73f3f6fc 100644 --- a/mbbsd/passwd.c +++ b/mbbsd/passwd.c @@ -47,8 +47,6 @@ passwd_sync_update(int num, userec_t * buf) if(alerts & ALERT_PWD_BADPOST) cuser.badpost = buf->badpost = u.badpost; - if(alerts & ALERT_PWD_GOODPOST) - cuser.goodpost = buf->goodpost = u.goodpost; if(alerts & ALERT_PWD_PERM) cuser.userlevel = buf->userlevel = u.userlevel; if(alerts & ALERT_PWD_JUSTIFY) @@ -146,15 +144,6 @@ pwcuDecNumPost() PWCU_END(); } -int -pwcuSetGoodPost(unsigned int newgp) -{ - PWCU_START(); - cuser.goodpost = u.goodpost = newgp; - // passwd_force_update(ALERT_PWD_GOODPOST); - PWCU_END(); -} - int pwcuViolateLaw () { |