summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/user.c5
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':