]> jfr.im git - solanum.git/blobdiff - include/client.h
Pace aways.
[solanum.git] / include / client.h
index 47725750e5b6a590262e4455bfdd68a9c4f75437..12cbb1f7ae4d315637abf9c2d887bb7a003cb4b4 100644 (file)
@@ -237,7 +237,7 @@ struct LocalUser
 
        struct DNSQuery *dnsquery; /* for outgoing server's name lookup */
 
-       time_t last_away;       /* Away since... */
+       time_t next_away;       /* Don't allow next away before... */
        time_t last;
 
        /* clients allowed to talk through +g */
@@ -268,6 +268,10 @@ struct LocalUser
        unsigned int targets_free;      /* free targets */
        time_t target_last;             /* last time we cleared a slot */
 
+       /* ratelimit items */
+       time_t ratelimit;
+       unsigned int join_who_credits;
+
        struct ListClient *safelist_data;
 
        char *mangledhost; /* non-NULL if host mangling module loaded and