summaryrefslogtreecommitdiff
path: root/src/irc/irc-dcc.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-07-19 17:35:51 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-07-19 17:35:51 +0000
commit1230735c5faf5445bd7583798a27bb8a17e6d743 (patch)
tree9ac39de08142655af9d9827dae06c4be424612ff /src/irc/irc-dcc.c
parent77d7b703dee1370c5312b8ea5d1f343a65dd8a9e (diff)
downloadweechat-1230735c5faf5445bd7583798a27bb8a17e6d743.zip
Added "irc_highlight" setting, fixed crash when doing /part on an active DCC chat buffer
Diffstat (limited to 'src/irc/irc-dcc.c')
-rw-r--r--src/irc/irc-dcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-dcc.c b/src/irc/irc-dcc.c
index 53f637c97..1309a2475 100644
--- a/src/irc/irc-dcc.c
+++ b/src/irc/irc-dcc.c
@@ -998,7 +998,7 @@ dcc_chat_recv (t_irc_dcc *ptr_dcc)
gui_printf_type_color (ptr_dcc->channel->buffer,
MSG_TYPE_NICK,
COLOR_WIN_CHAT_DARK, "<");
- if (strstr (ptr_buf, ptr_dcc->server->nick))
+ if (irc_is_highlight (ptr_buf, ptr_dcc->server->nick))
{
gui_printf_type_color (ptr_dcc->channel->buffer,
MSG_TYPE_NICK | MSG_TYPE_HIGHLIGHT,