]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/defines.h
New constant "CUT_TXTSUFFIX". [from HEAD]
[ngircd.git] / src / ngircd / defines.h
index 12558ef37589a82a4db5d2eb28044d31b0c9367d..469136e0e1f6178f7eb5a3b5f5be39e3ab3028e5 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.49 2005/02/04 14:24:21 alex Exp $
+ * $Id: defines.h,v 1.52.2.1 2005/07/02 14:44:36 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 */
@@ -49,7 +52,7 @@
 #define CLIENT_FLAGS_LEN 100           /* max. length of client flags */
 
 #define CHANNEL_NAME_LEN 51            /* max. length of a channel name, see. RFC 2812, 1.3 */
-#define CHANNEL_MODE_LEN 8             /* max. length of channel modes */
+#define CHANNEL_MODE_LEN 9             /* max. length of channel modes */
 #define CHANNEL_TOPIC_LEN 128          /* max. length of a channel topic */
 
 #define COMMAND_LEN 513                        /* max. IRC command length, see. RFC 2812, 3.2 */
 #define RECONNECT_DELAY 3              /* time to delay re-connect attempts (seconds) */
 
 #define USERMODES "aios"               /* supported user modes */
-#define CHANMODES "biklImnoPtv"                /* supported channel 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 */
 
@@ -95,6 +98,8 @@
 
 #define NOTICE_TXTPREFIX ""            /* prefix for NOTICEs from the server to users */
 
+#define CUT_TXTSUFFIX "[CUT]"          /* Suffix for oversized messages that
+                                          have been shortened and cut off. */
 #ifdef RENDEZVOUS
 #define RENDEZVOUS_TYPE "_ircu._tcp."  /* service type to register with Rendezvous */
 #endif