diff options
author | LemonBoy <thatlemon@gmail.com> | 2017-10-29 16:06:36 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2018-01-07 12:36:21 +0100 |
commit | 4b9fcbc15ae3561c34944e30e24fd1d54346bb99 (patch) | |
tree | 375a25678e67092d6a5d936985cf9ec18f5a1e4e /src/irc | |
parent | f3a535564880d73b75263b685794a7165e56f9bd (diff) | |
download | irssi-4b9fcbc15ae3561c34944e30e24fd1d54346bb99.zip |
Nicer error message when a duplicate CAP in LS
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-cap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-cap.c b/src/irc/core/irc-cap.c index a9d79c24..880a15b6 100644 --- a/src/irc/core/irc-cap.c +++ b/src/irc/core/irc-cap.c @@ -163,7 +163,7 @@ static void event_cap (IRC_SERVER_REC *server, char *args, char *nick, char *add if (!g_hash_table_insert(server->cap_supported, key, val)) { /* The specification doesn't say anything about * duplicated values, let's just warn the user */ - g_warning("Duplicate value %s", key); + g_warning("The server sent the %s capability twice", key); } } |