diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-21 21:49:20 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-21 21:49:20 +0200 |
commit | 14850dfa9c4a0111dd95df288927bd41fbebbebf (patch) | |
tree | aef1090d34fbecbc534eb8c1df9410d405413c46 | |
parent | c8103f14d225f8d00c6e574834bc9cf20670595c (diff) | |
download | weechat-14850dfa9c4a0111dd95df288927bd41fbebbebf.zip |
irc: fix duplicate sender name in display of notice (closes #87)
-rw-r--r-- | ChangeLog.asciidoc | 1 | ||||
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 2 |
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, |