summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 0e4624b0..68dfb91d 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -118,10 +118,10 @@ log_usies(char *mode, char *mesg)
(int)(now - login_start_time) / 60);
if(cuser && cuser->userid[0])
- sprintf(genbuf+38, "%s %s ", cuser->userid, cuser->username);
+ sprintf(genbuf+38, "%s %s\n", cuser->userid, cuser->username);
if(mesg)
- strcat(genbuf, mesg);
+ sprintf(genbuf + strlen(genbuf) - 1, " %s\n", mesg);
log_file(FN_USIES, genbuf, 1);