diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-15 18:40:15 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-15 18:40:15 +0800 |
commit | 1d1d17c68f67323ca6338b96addee8f4568d9b55 (patch) | |
tree | 7a40316aff9cae5180c142c41d39d7a4b7c61bda | |
parent | a8cfec296b543e31bf596b61c86473d094afc5fc (diff) | |
download | pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar.gz pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar.bz2 pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar.lz pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar.xz pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.tar.zst pttbbs-1d1d17c68f67323ca6338b96addee8f4568d9b55.zip |
remove deadc0de
additional log to file system
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/user.c | 2 | ||||
-rw-r--r-- | mbbsd/vote.c | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 6f836a78..8695b5f9 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -948,7 +948,7 @@ uinfo_query(userec_t *u, int adminmode, int unum) char msg[200]; clrtobot(); clear(); - // XXX 此時斷線則修改資料沒 log + log_file(FN_MONEY, LOG_CREAT | LOG_VF, "%-12s 將 %-12s 的錢從 %d 改成 %d\n", cuser.userid, x.userid, money, x.money); while (!getdata(5, 0, "請輸入理由以示負責:", reason, sizeof(reason), DOECHO)); diff --git a/mbbsd/vote.c b/mbbsd/vote.c index aeeae5fc..229ae054 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -404,16 +404,6 @@ b_result(vote_buffer_t *vbuf, boardheader_t * fh) static int b_close(boardheader_t * fh, vote_buffer_t *vbuf) { -#if 0 - // XXX what's it for ? - if (fh->bvote == 2) { - if (fh->vtime < now - 3 * 86400) { - fh->bvote = 0; - return 1; - } else - return 0; - } -#endif b_result(vbuf, fh); return 1; } |