From 918266d7b8347b18449d01bec69cdc9925393699 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 19 Feb 2013 17:10:54 +0000 Subject: Add date time info in ban log, although I think only stupid user needs that. #1H8ly-Ml (PttSuggest) git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5790 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pttbbs/mbbsd/acl.c b/pttbbs/mbbsd/acl.c index b559da26..36e4cd0f 100644 --- a/pttbbs/mbbsd/acl.c +++ b/pttbbs/mbbsd/acl.c @@ -262,8 +262,10 @@ ui_ban_user_for_board(const char *uid, const char *board) { snprintf(xtitle, sizeof(xtitle), "%s 看板禁言通知(水桶)", board); snprintf(xmsg, sizeof(xmsg), "%s 看板已暫時禁止您發表意見 (放入水桶名單)。\n" + "時間: %s (期限 %s)\n" "原因: %s\n" - "其它資訊請洽該看板板規與公告。\n", board, reason); + "其它資訊請洽該看板板規與公告。\n", + board, Cdatelite(&now), datebuf, reason); mail_log2id_text(uid, xtitle, xmsg, "[系統通知]", 1); sendalert(uid, ALERT_NEW_MAIL); } -- cgit v1.2.3