Do not write PONG answers in the logfile
This commit is contained in:
parent
6da9075130
commit
867ec641ec
4
ii.c
4
ii.c
@ -342,7 +342,9 @@ static void proc_server_cmd(char *buf)
|
||||
}
|
||||
tokenize(&argv[TOK_CMD], TOK_LAST - TOK_CMD, cmd, ' ');
|
||||
|
||||
if(!strncmp("PING", argv[TOK_CMD], 5)) {
|
||||
if(!strncmp("PONG", argv[TOK_CMD], 5)) {
|
||||
return;
|
||||
} else if(!strncmp("PING", argv[TOK_CMD], 5)) {
|
||||
snprintf(message, PIPE_BUF, "PONG %s\r\n", argv[TOK_TEXT]);
|
||||
write(irc, message, strlen(message));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user