summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2017-10-29 16:03:28 +0100
committerLemonBoy <thatlemon@gmail.com>2018-01-07 12:36:21 +0100
commitf3a535564880d73b75263b685794a7165e56f9bd (patch)
treeb0f2a7f3cc15deb237f22cf00be2a8265c8999d5 /src
parent6c45ab0493e42bca08016ad70a54bb523282b7b8 (diff)
downloadirssi-f3a535564880d73b75263b685794a7165e56f9bd.zip
Match LS instead of checking the first letter only
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc-cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-cap.c b/src/irc/core/irc-cap.c
index 1a76fc8e..a9d79c24 100644
--- a/src/irc/core/irc-cap.c
+++ b/src/irc/core/irc-cap.c
@@ -119,7 +119,7 @@ static void event_cap (IRC_SERVER_REC *server, char *args, char *nick, char *add
/* Multiline responses have an additional parameter and we have to do
* this stupid dance to parse them */
- if (evt[0] == 'L' && !strcmp(star, "*")) {
+ if (!g_ascii_strcasecmp(evt, "LS") && !strcmp(star, "*")) {
multiline = TRUE;
}
/* This branch covers the '*' parameter isn't present, adjust the