Skip to content

Commit

Permalink
FIx newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ortmann committed Oct 14, 2023
1 parent d318c73 commit 636b906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mod/server.mod/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2097,8 +2097,8 @@ static void server_die()
char msg[MSGMAX];
cycle_time = 100;
if (server_online) {
snprintf(msg, sizeof msg, "QUIT :%s\n", quit_msg[0] ? quit_msg : "");
dprintf(-serv, msg);
snprintf(msg, sizeof msg, "QUIT :%s", quit_msg[0] ? quit_msg : "");
dprintf(-serv, "%s\n", msg);
if (raw_log)
putlog(LOG_SRVOUT, "*", "[->] %s", msg);
sleep(3); /* Give the server time to understand */
Expand Down

0 comments on commit 636b906

Please sign in to comment.