diff options
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index e828e3f3..c2a429f5 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1071,7 +1071,8 @@ scan_register_form(char *regfile, int automode, int neednum) strlcpy(muser.email, fdata[6], sizeof(muser.email)); strncpy(muser.justify, genbuf, REGLEN); sethomefile(buf, muser.userid, "justify"); - log_file(buf, 1, "%s:%s:%s\n", fdata[5], fdata[3], uid); + log_file(buf, LOG_CREAT | LOG_VF, + "%s:%s:%s\n", fdata[5], fdata[3], uid); passwd_update(unum, &muser); if ((fout = fopen(logfile, "a"))) { |