Parse the K/V form in CAP LS

This is a prerequisite for the IRC v3.2 compliance.
This commit is contained in:
LemonBoy 2017-10-21 10:21:03 +02:00
commit 98836f8b7e
4 changed files with 52 additions and 10 deletions

View file

@ -443,7 +443,7 @@ static void sig_disconnected(IRC_SERVER_REC *server)
gslist_free_full(server->cap_active, (GDestroyNotify) g_free);
server->cap_active = NULL;
gslist_free_full(server->cap_supported, (GDestroyNotify) g_free);
g_hash_table_destroy(server->cap_supported);
server->cap_supported = NULL;
gslist_free_full(server->cap_queue, (GDestroyNotify) g_free);