summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 394f5a92..a0be22e3 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -194,7 +194,7 @@ violate_law(userec_t * u, int unum)
post_violatelaw(u->userid, cuser.userid, reason, "¬å°£ ID");
u->userid[0] = '\0';
setuserid(unum, u->userid);
- passwd_update(unum, u);
+ passwd_index_update(unum, u);
} else {
u->userlevel |= PERM_VIOLATELAW;
u->vl_count++;