diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-20 16:29:36 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-20 16:29:36 +0200 |
commit | 108004be9542c80958a39e1e0448028b421accd6 (patch) | |
tree | 2d027785a50793dc1bd4eb018591be0329753e54 /src/plugins/irc | |
parent | a3193320a9bc4ea69eb6b2bfa1dec135a28784d0 (diff) | |
download | weechat-108004be9542c80958a39e1e0448028b421accd6.zip |
irc: do a case-sensitive comparison of CAP command
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 22a1977e2..34a0d5bcb 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -1240,7 +1240,7 @@ IRC_COMMAND_CALLBACK(cap) weechat_string_toupper (cap_cmd); - if ((weechat_strcasecmp (argv[1], "ls") == 0) && !argv_eol[2]) + if ((strcmp (cap_cmd, "LS") == 0) && !argv_eol[2]) { irc_server_sendf (ptr_server, IRC_SERVER_SEND_OUTQ_PRIO_HIGH, NULL, "CAP LS " IRC_SERVER_VERSION_CAP); |