summaryrefslogtreecommitdiff
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
parentc8103f14d225f8d00c6e574834bc9cf20670595c (diff)
downloadweechat-14850dfa9c4a0111dd95df288927bd41fbebbebf.zip
irc: fix duplicate sender name in display of notice (closes #87)
-rw-r--r--ChangeLog.asciidoc1
-rw-r--r--src/plugins/irc/irc-protocol.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index 022f5209e..24ab246be 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -105,6 +105,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* alias: change default command for alias /beep to "/print -beep"
* exec: add exec plugin: new command /exec and file exec.conf
* guile: fix module used after unload of a script
+* irc: fix duplicate sender name in display of notice (closes #87)
* irc: fix refresh of buffer name in bar items after join/part/kick/kill
(closes #86)
* irc: display message 936 (censored word) on channel instead of server buffer
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,