From 14850dfa9c4a0111dd95df288927bd41fbebbebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 21 May 2014 21:49:20 +0200 Subject: irc: fix duplicate sender name in display of notice (closes #87) --- src/plugins/irc/irc-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 4db3769f6..7cd7c1088 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -1366,7 +1366,7 @@ IRC_PROTOCOL_CALLBACK(notice) } else { - if (address && address[0]) + if (address && address[0] && (strcmp (nick, address) != 0)) { weechat_printf_date_tags (ptr_buffer, date, -- cgit v1.2.3