Author: Ghostwolf <foxxe@wtfs.net>
[ircu2.10.12-pk.git] / include / ircd_defs.h
index e6ad7202dca607336230964b1b39df79989f1451..492c49e009fee31dd75a26b11b82b5f0421ad460 100644 (file)
  * 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).