summary refs log tree commit diff stats
path: root/src/common/server.c
diff options
context:
space:
mode:
authorRichard Hitt <rbh00@msi.rbh00.pacbell.net>2012-11-13 12:06:35 -0800
committerRichard Hitt <rbh00@msi.rbh00.pacbell.net>2012-11-13 12:06:35 -0800
commitb59f9abd1a26ef83b0d2496a1170ba498ada8955 (patch)
treed923aa10581049441d70c247598a4e4d43f4716c /src/common/server.c
parentc896176925670cea87f13a428285ddf12e25745e (diff)
Limit url-grabbing to NOTICE, PRIVMSG, TOPIC, 332 (RPL_TOPIC), 372 (RPL_MOTD)
Diffstat (limited to 'src/common/server.c')
-rw-r--r--src/common/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/server.c b/src/common/server.c
index dbfdcdd8..3e694c43 100644
--- a/src/common/server.c
+++ b/src/common/server.c
@@ -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);
 }