summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-12-06 22:16:10 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-12-06 22:16:10 +0100
commit0baae4237c1b16d24fb594e7d3aa68b1dccc501a (patch)
tree79f0c8c4ea19b11c1f2ee25921561fa96cc01f33 /src/plugins/irc
parentc31fe6d854bc91f068768afc36c4ebd4aa10afa6 (diff)
downloadweechat-0baae4237c1b16d24fb594e7d3aa68b1dccc501a.zip
Fix display of quit message in IRC private if case of nick is different from buffer name
Diffstat (limited to 'src/plugins/irc')
-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 036469a62..05adc7b95 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -1258,7 +1258,7 @@ irc_protocol_cmd_quit (struct t_irc_server *server, const char *command,
else
ptr_nick = irc_nick_search (ptr_channel, nick);
- if (ptr_nick || (strcmp (ptr_channel->name, nick) == 0))
+ if (ptr_nick || (weechat_strcasecmp (ptr_channel->name, nick) == 0))
{
/* display quit message */
if (!irc_ignore_check (server, ptr_channel, nick, host))