summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index ec0fff2d..698d0d3c 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -2286,10 +2286,10 @@ userlist(void)
prints("\033[44m 嗯..還剩下 %d 錢.."
"\033[m", demoney(-ch));
snprintf(genbuf, sizeof(genbuf),
- "%s\t給%s\t%d\t%s", cuser.userid,
+ "%s\t給%s\t%d\t%s\n", cuser.userid,
uentp->userid, ch,
ctime(&currutmp->lastact));
- log_file(FN_MONEY, genbuf);
+ log_file(FN_MONEY, genbuf, 1);
mail_redenvelop(cuser.userid, uentp->userid,
ch - give_tax(ch), 'Y');
}