]> jfr.im git - solanum.git/blobdiff - include/client.h
cap: substantial rewrite leveraging the ircd capabilities framework for client caps
[solanum.git] / include / client.h
index 4300500e3e1c9ae4ec1f0f200d214390c60f8470..52c5351900ae4ae54946ff4303953ca5620c96fb 100644 (file)
@@ -117,7 +117,8 @@ struct Client
        struct Client *servptr; /* Points to server this Client is on */
        struct Client *from;    /* == self, if Local Client, *NEVER* NULL! */
 
-       struct Whowas *whowas;  /* Pointers to whowas structs */
+       rb_dlink_list whowas_clist;
+
        time_t tsinfo;          /* TS on the nick, SVINFO on server */
        unsigned int umodes;    /* opers, normal users subset */
        unsigned int flags;     /* client flags */
@@ -444,16 +445,6 @@ struct ListClient
                              UMODE_WALLOP | UMODE_LOCOPS)
 #define DEFAULT_OPER_SNOMASK SNO_GENERAL
 
-#define CLICAP_MULTI_PREFIX            0x0001
-#define CLICAP_SASL                    0x0002
-#define CLICAP_ACCOUNT_NOTIFY          0x0004
-#define CLICAP_EXTENDED_JOIN           0x0008
-#define CLICAP_AWAY_NOTIFY             0x0010
-#define CLICAP_TLS                     0x0020
-#define CLICAP_USERHOST_IN_NAMES       0x0040
-#define CLICAP_CAP_NOTIFY              0x0080
-#define CLICAP_CHGHOST                 0x0100
-
 /*
  * flags macros.
  */