]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
Remove check that cannot happen due to minparc in Message struct.
[irc/rqf/shadowircd.git] / include / client.h
index 02b39f908139b28c4d2c3939648c56e7305a415b..33491442a7b5b2e9d1ddb8080363b7c2b5926f0b 100644 (file)
@@ -40,6 +40,7 @@
 #include "snomask.h"
 #include "match.h"
 #include "ircd.h"
+#include "privilege.h"
 
 /* other structs */
 struct Blacklist;
@@ -281,6 +282,8 @@ struct LocalUser
        struct ZipStats *zipstats;              /* zipstats */
        uint16_t cork_count;                    /* used for corking/uncorking connections */
        struct ev_entry *event;                 /* used for associated events */
+
+       struct PrivilegeSet *privset;           /* privset... */
 };
 
 struct PreClient
@@ -295,6 +298,8 @@ struct PreClient
 
        rb_dlink_list dnsbl_queries; /* list of struct BlacklistClient * */
        struct Blacklist *dnsbl_listed; /* first dnsbl where it's listed */
+
+       struct rb_sockaddr_storage lip; /* address of our side of the connection */
 };
 
 struct ListClient