diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-01-05 05:51:58 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-01-05 05:51:58 +0800 |
commit | 665bcd82a5627d9c4b690d02c8eaae06d1c058f7 (patch) | |
tree | 38be738716f2659365842c1442b8b05d1c0a08c1 /mbbsd/assess.c | |
parent | 5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab (diff) | |
download | pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar.gz pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar.bz2 pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar.lz pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar.xz pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.tar.zst pttbbs-665bcd82a5627d9c4b690d02c8eaae06d1c058f7.zip |
fix the register bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3265 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/assess.c')
-rw-r--r-- | mbbsd/assess.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c index d6c92726..abaa77fb 100644 --- a/mbbsd/assess.c +++ b/mbbsd/assess.c @@ -20,9 +20,6 @@ int inc_##_attr(const char *userid, int num) \ userec_t xuser; \ int uid = getuser(userid, &xuser);\ if( uid > 0 ){ \ - userinfo_t *uinfo = search_ulist(uid); \ - if (uinfo != NULL) \ - inc(&uinfo->_attr, num); \ inc(&xuser._attr, num); \ passwd_update(uid, &xuser); \ return xuser._attr; }\ |