]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conn.h
Implement NGIRCD_PENALTY_MAX environment variable
[ngircd-alex.git] / src / ngircd / conn.h
index c642541f07ce486b712f5a3b0e719a438d9ea8da..c2f37613df002393ebe7b3d50c51a7d780fc6ec3 100644 (file)
@@ -42,6 +42,7 @@
 #define CONN_SSL_WANT_READ     128     /* SSL/TLS library needs to read protocol data */
 #define CONN_SSL_FLAGS_ALL     (CONN_SSL_CONNECT|CONN_SSL|CONN_SSL_WANT_WRITE|CONN_SSL_WANT_READ)
 #endif
+
 typedef int CONN_ID;
 
 #include "client.h"
@@ -111,6 +112,8 @@ GLOBAL long WCounter;
 
 #define CONNECTION2ID(x) (long)(x - My_Connections)
 
+GLOBAL time_t Max_Penalty_Add;         /** Maximum penalty time to add at once */
+
 #endif /* CONN_MODULE */