diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index b737d23b..57dc587b 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1104,6 +1104,10 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[], } return; + case WORDL('P', 'I', 'N', 'G'): + tcp_sendf (sess->server, "PONG %s\r\n", word_eol[3]); + return; + case WORDL('P','O','N','G'): inbound_ping_reply (serv->server_session, (word[4][0] == ':') ? word[4] + 1 : word[4], @@ -1138,6 +1142,10 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[], case WORDL('A','C','C','O'): inbound_account (serv, nick, word[3], tags_data); return; + + case WORDL('A', 'U', 'T', 'H'): + inbound_sasl_authenticate (sess->server, word_eol[3]); + return; case WORDL('I','N','V','I'): if (ignore_check (word[1], IG_INVI))