Limit url-grabbing to NOTICE, PRIVMSG, TOPIC, 332 (RPL_TOPIC), 372 (RPL_MOTD)

This commit is contained in:
Richard Hitt
2012-11-13 12:06:35 -08:00
parent c896176925
commit b59f9abd1a
2 changed files with 45 additions and 1 deletions

View File

@@ -157,6 +157,8 @@ server_send_real (server *serv, char *buf, int len)
{
fe_add_rawlog (serv, buf, len, TRUE);
url_check_line (buf, len);
return tcp_send_real (serv->ssl, serv->sok, serv->encoding, serv->using_irc,
buf, len);
}