From 9f247ebd5a9b424ae9e6c10ba31dcb4b7190b1f8 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 16 May 2005 12:22:32 +0000 Subject: [PATCH] New defines MAX_WHOWAS and DEFAULT_WHOWAS. --- src/ngircd/defines.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index a3c24789..5f5adcd3 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -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 */ -- 2.39.2