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 db28cb99..b1553f3c 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -974,7 +974,8 @@ scan_register_form(char *regfile, int automode, int neednum) "%s:%s:%s", fdata[5], fdata[3], uid); strncpy(muser.justify, genbuf, REGLEN); sethomefile(buf, muser.userid, "justify"); - log_file(buf, genbuf); + strncat(genbuf, "\n", sizeof(genbuf)); + log_file(buf, genbuf, 1); passwd_update(unum, &muser); if ((fout = fopen(logfile, "a"))) { |