summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index d659b4fa..61bf1dba 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1344,8 +1344,9 @@ scan_register_form(const char *regfile, int automode, int neednum)
fdata[4], fdata[2], uid);
strlcpy(muser.justify, genbuf, sizeof(muser.justify));
- // XXX TODO notify users?
passwd_update(unum, &muser);
+ // XXX TODO notify users?
+ sendalert(muser.userid, ALERT_PWD_PERM); // force to reload perm
sethomefile(buf, muser.userid, "justify");
log_file(buf, LOG_CREAT, genbuf);