]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/chanserv.h
TRUSTS: require sqlite
[irc/quakenet/newserv.git] / chanserv / chanserv.h
index 45f6dfc41f5c33db47d2756691baff89553e48c2..e636e3fc48bf28d7e4da705faa75e7de6618b818 100644 (file)
@@ -76,7 +76,7 @@
 #define   MAXSUSPENDHIT       500
 
 /* Maximum number of times a user may attempt to auth */
-#define   MAXAUTHATTEMPT      10
+#define   MAXAUTHATTEMPT      5
 
 /* Maximum number of hellos in a session */
 #define   MAXHELLOS           2
 #define   CHALLENGEAUTHSITE "http://www.quakenet.org/development/challengeauth/"
 
 /* Cleanup options */
-#define CLEANUP_ACCOUNT_INACTIVE  180
+#define CLEANUP_ACCOUNT_INACTIVE  180 /* make sure you update CLEANUP_AUTHHISTORY too... */
 #define CLEANUP_ACCOUNT_UNUSED    3
 #define CLEANUP_CHANNEL_INACTIVE  40
 
-#define CLEANUP_AUTHHISTORY      60
+#define CLEANUP_AUTHHISTORY      240
 
 #define CLEANUP_MIN_CHAN_SIZE     2
 
 #define   QPRIV_VIEWCHANSUSPENSION  110
 #define   QPRIV_VIEWSUSPENDEDBY     111
 #define   QPRIV_VIEWWALLMESSAGE     112
+#define   QPRIV_VIEWREALHOST        113
 
 #define   QPRIV_CHANGECHANFLAGS     200
 #define   QPRIV_CHANGECHANLEV       201