]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/defines.h
moved invite/ban lists to channel structure
[ngircd-alex.git] / src / ngircd / defines.h
index d02ca5bdeac12cefdd64af02470b7215ba85376e..5f98e806b806754f9abc0b70ae317b757d2bdf09 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.53 2005/07/02 14:33:45 alex Exp $
+ * $Id: defines.h,v 1.58 2006/06/15 20:28:15 alex Exp $
  */
 
 
@@ -50,7 +50,8 @@
 #define CLIENT_NICK_LEN 10             /* Max. nick length, see. RFC 2812
                                           section 1.2.1 */
 #define CLIENT_PASS_LEN 21             /* Max. password length */
-#define CLIENT_USER_LEN 9              /* Max. length of user name ("login") */
+#define CLIENT_USER_LEN 10             /* Max. length of user name ("login")
+                                          see RFC 2812, section 1.2.1 */
 #define CLIENT_NAME_LEN 32             /* Max. length of "real names" */
 #define CLIENT_HOST_LEN 64             /* Max. host name length */
 #define CLIENT_MODE_LEN 8              /* Max. lenth of all client modes */
@@ -61,7 +62,6 @@
 #define CHANNEL_NAME_LEN 51            /* Max. length of a channel name, see
                                           RFC 2812 section 1.3 */
 #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 section 3.2 */
@@ -95,7 +95,7 @@
                                           in seconds. */
 
 #define USERMODES "aios"               /* Supported user modes. */
-#define CHANMODES "biklImnoPstv"       /* Supported channel modes. */
+#define CHANMODES "biIklmnoPstv"       /* Supported channel modes. */
 
 #define CONNECTED true                 /* Internal status codes. */
 #define DISCONNECTED false
 #define DEFAULT_AWAY_MSG "Away"                /* Away message for users connected to
                                           linked servers. */
 
+#define DEFAULT_TOPIC_ID "-Server-"    /* Default ID for "topic owner". */
+
 #define CONFIG_FILE "/ngircd.conf"     /* Configuration file name. */
 #define MOTD_FILE "/ngircd.motd"       /* Name of the MOTD file. */
 #define MOTD_PHRASE ""                 /* Default MOTD phrase string. */
 #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 mDNS */
+#ifdef ZEROCONF
+#define MDNS_TYPE "_ircu._tcp."                /* Service type to register with mDNS */
 #endif