]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
Ignore unknown commands received before the client is registered.
[ngircd-alex.git] / src / ngircd / defines.h
index 7d6ff21de25b43bcb80ab762618cb7220508770e..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.50 2005/03/02 16:35:11 alex 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 */
@@ -76,8 +79,8 @@
 #define USERMODES "aios"               /* supported user modes */
 #define CHANMODES "biklImnoPstv"       /* supported channel modes */
 
-#define CONNECTED TRUE                 /* internal status codes */
-#define DISCONNECTED FALSE
+#define CONNECTED true                 /* internal status codes */
+#define DISCONNECTED false
 
 #define DEFAULT_AWAY_MSG "Away"                /* away message for users connected to linked servers */