]> arthur.barton.de Git - ngircd-alex.git/commitdiff
New defines MAX_WHOWAS and DEFAULT_WHOWAS.
authorAlexander Barton <alex@barton.de>
Mon, 16 May 2005 12:22:32 +0000 (12:22 +0000)
committerAlexander Barton <alex@barton.de>
Mon, 16 May 2005 12:22:32 +0000 (12:22 +0000)
src/ngircd/defines.h

index a3c247899e95d5e9ab1522c8266986c80628844a..5f5adcd368f3e5cb4d7a8158ab71350bffcb94a4 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: defines.h,v 1.51 2005/03/19 18:43:48 fw Exp $
+ * $Id: defines.h,v 1.52 2005/05/16 12:22:32 alex Exp $
  *
  * Global defines of ngIRCd.
  */
@@ -35,6 +35,9 @@
 
 #define MAX_SERVICES 8                 /* max. number of configurable services */
 
+#define MAX_WHOWAS 64                  /* max. number of WHOWAS items */
+#define DEFAULT_WHOWAS 5               /* default count for WHOWAS command */
+
 #define CONNECTION_POOL 100            /* size of default connection pool */
 
 #define CLIENT_ID_LEN 64               /* max. length of an IRC ID; see RFC 2812, 1.1 and 1.2.1 */