Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / include / ircd_defs.h
index 6ec4f82083c70bbda81fbdb5928b0c4da6e3bbd1..04b9074c06463c99cb661cecabcabeafb068cf6f 100644 (file)
  * revision. Every server on a given network must also use the same sizes.
  */
 
+/*
+ * NETWORK is the name the server claims the network is
+ */
+#define NETWORK "UnderNet"
+
+/* 
+ * URL_CLIENTS is a URL to where to find compatible clients
+ */
+#define URL_CLIENTS "ftp://ftp.undernet.org/pub/irc/clients"
+
 /*
  * NICKLEN is the maximum length allowed for a nickname
  *
  * are shorter. It is possible to have a valid FQDN longer than 63 characters.
  */
 #define HOSTLEN         63
+/*
+ * ACCOUNTLEN is the maximum length for the account name, which can be set
+ * with the ACCOUNT (AC) command.  This is used for keeping track of who's
+ * logged into which account, for the benefit of irc services.
+ */
+#define ACCOUNTLEN      12
 /*
  * REALLEN is the maximum length for user supplied information about a client
  * connection (gcos). This information is set at client/server registration
  */
 #define SOCKIPLEN 15
 /*
- * TOPICLEN is the maximum length for channel topics, kill comments,
- * and quit comments
+ * TOPICLEN is the maximum length for channel topics and kill comments
  */
 #define TOPICLEN        160
+/*
+ * AWAYLEN is the maximum length for away messages
+ */
+#define AWAYLEN                160
 /*
  * BUFSIZE is exactly long enough to hold one protocol message (RFC 1459)
  * including the line termination (\r\n).
 #define STARTTARGETS    10
 #define RESERVEDTARGETS 12
 
-#endif /* INCLUDED_ircd_defs_h */
+#define MAP_CACHE_TIME 604800
 
+#endif /* INCLUDED_ircd_defs_h */