Overwrite config.h.dist with config.h.
config.h.dist serves no purpose other than a backup copy for local changes to config.h
This commit is contained in:
parent
a260ff7df8
commit
be462ae76a
1 changed files with 24 additions and 37 deletions
|
@ -21,7 +21,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||||
* USA
|
* USA
|
||||||
*
|
*
|
||||||
* $Id: config.h.dist 3354 2007-04-03 09:21:31Z nenolod $
|
* $Id: config.h 3354 2007-04-03 09:21:31Z nenolod $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_config_h
|
#ifndef INCLUDED_config_h
|
||||||
|
@ -50,15 +50,17 @@
|
||||||
/* dirs */
|
/* dirs */
|
||||||
#define DPATH IRCD_PREFIX
|
#define DPATH IRCD_PREFIX
|
||||||
#define BINPATH IRCD_PREFIX "/bin/"
|
#define BINPATH IRCD_PREFIX "/bin/"
|
||||||
#define MODPATH IRCD_PREFIX "/modules/"
|
#define LIBPATH IRCD_PREFIX "/lib/"
|
||||||
#define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
|
#define MODPATH MODULE_DIR
|
||||||
#define ETCPATH IRCD_PREFIX "/etc"
|
#define AUTOMODPATH MODULE_DIR "/autoload/"
|
||||||
#define LOGPATH IRCD_PREFIX "/logs"
|
#define ETCPATH ETC_DIR
|
||||||
#define UHPATH IRCD_PREFIX "/help/users"
|
#define LOGPATH LOG_DIR
|
||||||
#define HPATH IRCD_PREFIX "/help/opers"
|
#define UHPATH HELP_DIR "/users"
|
||||||
|
#define HPATH HELP_DIR "/opers"
|
||||||
|
|
||||||
/* files */
|
/* files */
|
||||||
#define SPATH BINPATH "/ircd" /* ircd executable */
|
#define SPATH BINPATH "/ircd" /* ircd executable */
|
||||||
|
#define LIPATH LIBPATH "/libircd" SHARED_SUFFIX /* ircd library */
|
||||||
#define SLPATH BINPATH "/servlink" /* servlink executable */
|
#define SLPATH BINPATH "/servlink" /* servlink executable */
|
||||||
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
|
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
|
||||||
#define KPATH ETCPATH "/kline.conf" /* kline file */
|
#define KPATH ETCPATH "/kline.conf" /* kline file */
|
||||||
|
@ -81,10 +83,8 @@
|
||||||
|
|
||||||
/* HIDE_SERVERS_IPS
|
/* HIDE_SERVERS_IPS
|
||||||
*
|
*
|
||||||
* If this is undefined, everybody can see a servers ip. This includes
|
* If this is undefined, anyone can see a servers ip. If it is defined,
|
||||||
* nonopers if flatten links is not enabled.
|
* noone can.
|
||||||
*
|
|
||||||
* If this is defined, nobody can see a servers ip.
|
|
||||||
*/
|
*/
|
||||||
#define HIDE_SERVERS_IPS
|
#define HIDE_SERVERS_IPS
|
||||||
|
|
||||||
|
@ -108,20 +108,7 @@
|
||||||
*/
|
*/
|
||||||
#define CLIENT_FLOOD 20
|
#define CLIENT_FLOOD 20
|
||||||
|
|
||||||
/* NICKNAMEHISTORYLENGTH - size of WHOWAS array
|
/* HANGONGOODLINK and HANGONRETRYDELAY
|
||||||
* 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
|
|
||||||
* Often net breaks for a short time and it's useful to try to
|
* Often net breaks for a short time and it's useful to try to
|
||||||
* establishing the same connection again faster than CONNECTFREQUENCY
|
* establishing the same connection again faster than CONNECTFREQUENCY
|
||||||
* would allow. But, to keep trying on bad connection, we require
|
* would allow. But, to keep trying on bad connection, we require
|
||||||
|
|
Loading…
Reference in a new issue