diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-24 22:08:15 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-24 22:08:15 +0800 |
commit | 8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455 (patch) | |
tree | acc9cdb27bff4b83bf3ff61ba6f7fb6cb4174181 | |
parent | e8abf57867b7bb211c2f693c50887a263d5c4510 (diff) | |
download | pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar.gz pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar.bz2 pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar.lz pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar.xz pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.tar.zst pttbbs-8b68e2e8f6bdb0ec8ab0e15fc2d8cb450ed23455.zip |
- log reason for adm killing user accounts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4016 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/user.c | 5 |
1 files changed, 5 insertions, 0 deletions
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': |