1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

irc: add support for IRCv3.2 Client Capability Negotiation (closes #586)

This commit is contained in:
Simmo Saan
2015-12-13 16:09:20 +02:00
parent 453434644a
commit bdfd984d72
4 changed files with 337 additions and 153 deletions
+2
View File
@@ -188,7 +188,9 @@ struct t_irc_server
/* (nick____1, nick____2, ...) */
char *nick; /* current nickname */
char *nick_modes; /* nick modes */
int checking_cap_ls; /* 1 if checking supported capabilities */
struct t_hashtable *cap_ls; /* list of supported capabilities */
int checking_cap_list; /* 1 if checking enabled capabilities */
struct t_hashtable *cap_list; /* list of enabled capabilities */
char *isupport; /* copy of message 005 (ISUPPORT) */
char *prefix_modes; /* prefix modes from msg 005 (eg "ohv") */