]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/config.h.dist
Update omode so that it can set +ah.
[irc/rqf/shadowircd.git] / include / config.h.dist
index 6c0d0bb62a0ba53cd425b312a5998f21f5e8fbc8..04fcfdb160d6edce84b1f123f1d31316a14e42a5 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: config.h.dist 438 2006-01-06 01:00:44Z jilles $
+ *  $Id: config.h 3354 2007-04-03 09:21:31Z nenolod $
  */
 
 #ifndef INCLUDED_config_h
 /* dirs */
 #define DPATH   IRCD_PREFIX
 #define BINPATH IRCD_PREFIX "/bin/"
-#define MODPATH IRCD_PREFIX "/modules/"
-#define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
-#define ETCPATH IRCD_PREFIX "/etc"
-#define LOGPATH IRCD_PREFIX "/logs"
-#define UHPATH   IRCD_PREFIX "/help/users"
-#define HPATH  IRCD_PREFIX "/help/opers"
+#define LIBPATH IRCD_PREFIX "/lib/"
+#define MODPATH MODULE_DIR
+#define AUTOMODPATH MODULE_DIR "/autoload/"
+#define ETCPATH ETC_DIR 
+#define LOGPATH LOG_DIR
+#define UHPATH   HELP_DIR "/users"
+#define HPATH  HELP_DIR "/opers"
 
 /* files */
-#define SPATH    BINPATH "/ircd"       /* ircd executable */
-#define SLPATH   BINPATH "/servlink"   /* servlink executable */
-#define CPATH    ETCPATH "/ircd.conf"  /* ircd.conf file */
-#define KPATH    ETCPATH "/kline.conf" /* kline file */
-#define DLPATH   ETCPATH "/dline.conf" /* dline file */
-#define XPATH   ETCPATH "/xline.conf"  /* xline file */
-#define RESVPATH ETCPATH "/resv.conf"  /* resv file */
-#define RPATH    ETCPATH "/ircd.rsa"   /* ircd rsa private keyfile */
-#define MPATH    ETCPATH "/ircd.motd"  /* MOTD file */
-#define LPATH    LOGPATH "/ircd.log"   /* ircd logfile */
-#define PPATH    ETCPATH "/ircd.pid"   /* pid file */
-#define OPATH    ETCPATH "/opers.motd" /* oper MOTD file */
+#define SPATH    BINPATH "/ircd"                  /* ircd executable */
+#define LIPATH   LIBPATH "/libircd" SHARED_SUFFIX  /* ircd library */
+#define CPATH    ETCPATH "/ircd.conf"             /* ircd.conf file */
+#define KPATH    ETCPATH "/kline.conf"            /* kline file */
+#define DLPATH   ETCPATH "/dline.conf"            /* dline file */
+#define XPATH   ETCPATH "/xline.conf"             /* xline file */
+#define RESVPATH ETCPATH "/resv.conf"             /* resv file */
+#define RPATH    ETCPATH "/ircd.rsa"              /* ircd rsa private keyfile */
+#define MPATH    ETCPATH "/ircd.motd"             /* MOTD file */
+#define LPATH    LOGPATH "/ircd.log"              /* ircd logfile */
+#define PPATH    ETCPATH "/ircd.pid"              /* pid file */
+#define OPATH    ETCPATH "/opers.motd"            /* oper MOTD file */
 
 /* IGNORE_BOGUS_TS
  * Ignore bogus timestamps from other servers. Yes this will desync
  */
 #undef  IGNORE_BOGUS_TS
 
-/* HIDE_SERVERS_IPS
- *
- * If this is undefined, opers will be unable to see servers ips and will be
- * shown a masked ip, admins will be shown the real ip.
- *
- * If this is defined, nobody can see a servers ip.
- */
-#define  HIDE_SERVERS_IPS
-
-/* TS6_ONLY
- *
- * If this is defined only TS6 servers may link to the network.  See
- * doc/TS6.txt for more information.  If your network has old servers
- * (hyb7.0, ircd-ratbox-1.x, +CSr) or hybserv you should NOT define this.
- */
-#undef TS6_ONLY
-
-/* USE_LOGFILE - log errors and such to LPATH
- * If you wish to have the server send 'vital' messages about server
- * to a logfile, define USE_LOGFILE.
- */
-#define USE_LOGFILE
-
-/* CLIENT_FLOOD - client excess flood threshold(in messages)
- * The number of messages that we can receive before we disconnect the
- * remote client...
- */
-#define CLIENT_FLOOD 20
-
-/* NICKNAMEHISTORYLENGTH - size of WHOWAS array
- * this defines the length of the nickname history.  each time a user changes
- * nickname or signs off, their old nickname is added to the top of the list.
- * NOTE: this is directly related to the amount of memory ircd will use whilst
- *       resident and running - it hardly ever gets swapped to disk!  Memory
- *       will be preallocated for the entire whowas array when ircd is started.
- */
-#ifndef SMALL_NET
-#define NICKNAMEHISTORYLENGTH 15000
-#else
-#define NICKNAMEHISTORYLENGTH 1500
-#endif
-
-/* HANGONGOODLINK and HANGONGOODLINK
+/* HANGONGOODLINK and HANGONRETRYDELAY
  * Often net breaks for a short time and it's useful to try to
  * establishing the same connection again faster than CONNECTFREQUENCY
  * would allow. But, to keep trying on bad connection, we require
  */
 #define RATBOX_SOMAXCONN 25
 
-/* ----------------------------------------------------------------
- * STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
- * ----------------------------------------------------------------
- * The options below this line should NOT be modified.
- * ----------------------------------------------------------------
- */
-
 /* MAX_BUFFER
  * The amount of fds to reserve for clients exempt from limits
  * and dns lookups.
  */
 #define MAX_BUFFER      60
 
-/* HARD_FDLIMIT_
- * The maximum amount of FDs to use.  MAX_CLIENTS is set in ./configure.
+/* ----------------------------------------------------------------
+ * STOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOPSTOP
+ * ----------------------------------------------------------------
+ * The options below this line should NOT be modified.
+ * ----------------------------------------------------------------
  */
-#define HARD_FDLIMIT_    MAX_CLIENTS + MAX_BUFFER + 20
 
 #define CONFIG_RATBOX_LEVEL_2