From 1012be5efbf01597d4edfd8071068286a77ff2dd Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 15 Mar 2012 23:58:52 +0100 Subject: update xchat to r1503 --- src/common/proto-irc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/proto-irc.c') diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index f1df6ccd..338a3b18 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1156,6 +1156,8 @@ irc_inline (server *serv, char *buf, int len) char pdibuf_static[522]; /* 1 line can potentially be 512*6 in utf8 */ char *pdibuf = pdibuf_static; + url_check_line (buf, len); + /* need more than 522? fall back to malloc */ if (len >= sizeof (pdibuf_static)) pdibuf = malloc (len + 1); -- cgit 1.4.1