diff options
-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; } |