]> jfr.im git - solanum.git/blobdiff - include/client.h
Merge pull request #28 from anarcat/master
[solanum.git] / include / client.h
index 62d3fa0fab17feb3594eda606b873dac5bb02b68..bb0c0e6613b7e503c20cc3375e387f996da31706 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 */
@@ -252,8 +252,6 @@ struct LocalUser
         * to avoid flooding.
         *   -- adrian
         */
-       int dummy1;
-       int dummy0;
        int sent_parsed;        /* how many messages we've parsed in this second */
        time_t last_knock;      /* time of last knock */
        unsigned long random_ping;
@@ -449,6 +447,7 @@ struct ListClient
 #define CLICAP_ACCOUNT_NOTIFY  0x0004
 #define CLICAP_EXTENDED_JOIN   0x0008
 #define CLICAP_AWAY_NOTIFY     0x0010
+#define CLICAP_TLS             0x0020
 
 /*
  * flags macros.
@@ -568,6 +567,7 @@ extern void check_klines_event(void *unused);
 extern void check_klines(void);
 extern void check_dlines(void);
 extern void check_xlines(void);
+extern void resv_nick_fnc(const char *mask, const char *reason, int temp_time);
 
 extern const char *get_client_name(struct Client *client, int show_ip);
 extern const char *log_client_name(struct Client *, int);