]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
Speed up /unresv. Rehash bans now only happens if explicitly requested.
[irc/rqf/shadowircd.git] / include / client.h
index a52f6869e9969eb25400554df2aa64e1b009b4cb..0b6adccb1a242f5852045b5481445bc6da3a475b 100644 (file)
@@ -69,6 +69,7 @@ struct LocalUser;
 struct AuthRequest;
 struct PreClient;
 struct ListClient;
+struct scache_entry;
 
 /* 
  * Atheme's coding standards require that we use BSD-style user-defined types
@@ -95,7 +96,6 @@ struct User
        dlink_list invited;     /* chain of invite pointer blocks */
        char *away;             /* pointer to away message */
        int refcnt;             /* Number of times this block is referenced */
-       const char *server;     /* pointer to scached server name */
 
        char suser[NICKLEN+1];
 };
@@ -103,13 +103,12 @@ struct User
 struct Server
 {
        user_t *user;           /* who activated this connection */
-       const char *up;         /* Pointer to scache name */
-       const char *upid;
        char by[NICKLEN];
        dlink_list servers;
        dlink_list users;
        int caps;               /* capabilities bit-field */
        char *fullcaps;
+       struct scache_entry *nameinfo;
 };
 
 struct SlinkRpl