1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Nicer error message when a duplicate CAP in LS

This commit is contained in:
LemonBoy 2017-10-29 16:06:36 +01:00
parent f3a5355648
commit 4b9fcbc15a

View File

@ -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)) { if (!g_hash_table_insert(server->cap_supported, key, val)) {
/* The specification doesn't say anything about /* The specification doesn't say anything about
* duplicated values, let's just warn the user */ * duplicated values, let's just warn the user */
g_warning("Duplicate value %s", key); g_warning("The server sent the %s capability twice", key);
} }
} }