about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-05-16 12:22:32 +0000
committerAlexander Barton <alex@barton.de>2005-05-16 12:22:32 +0000
commit9f247ebd5a9b424ae9e6c10ba31dcb4b7190b1f8 (patch)
treea27f698979666aad987cc1830eddf02c300296fe
parentdd9b4bc956aa01c9d7c33b7e60b653c88ccaf707 (diff)
downloadngircd-9f247ebd5a9b424ae9e6c10ba31dcb4b7190b1f8.tar.gz
ngircd-9f247ebd5a9b424ae9e6c10ba31dcb4b7190b1f8.zip
New defines MAX_WHOWAS and DEFAULT_WHOWAS.
-rw-r--r--src/ngircd/defines.h5
1 files changed, 4 insertions, 1 deletions
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 */