summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-05-21 21:49:20 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-05-21 21:49:20 +0200
commit14850dfa9c4a0111dd95df288927bd41fbebbebf (patch)
treeaef1090d34fbecbc534eb8c1df9410d405413c46 /src
parentc8103f14d225f8d00c6e574834bc9cf20670595c (diff)
downloadweechat-14850dfa9c4a0111dd95df288927bd41fbebbebf.zip
irc: fix duplicate sender name in display of notice (closes #87)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c2
1 files changed, 1 insertions, 1 deletions
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,