From 8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 24 Mar 2008 14:08:15 +0000 Subject: - log reason for adm killing user accounts git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mbbsd/user.c b/mbbsd/user.c index 500cfe7a..a83004b1 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -941,6 +941,11 @@ uinfo_query(userec_t *u, int adminmode, int unum) case '4': tokill = 1; + { + char reason[STRLEN]; + while (!getdata(b_lines-3, 0, "請輸入理由以示負責:", reason, 50, DOECHO)); + post_violatelaw(x.userid, cuser.userid, reason, "砍除 ID"); + } break; case '5': -- cgit v1.2.3