From: Alexander Barton Date: Mon, 16 May 2005 12:22:32 +0000 (+0000) Subject: New defines MAX_WHOWAS and DEFAULT_WHOWAS. X-Git-Tag: rel-0-9-0-pre1~51 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git;a=commitdiff_plain;h=9f247ebd5a9b424ae9e6c10ba31dcb4b7190b1f8 New defines MAX_WHOWAS and DEFAULT_WHOWAS. --- 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 */