53 |
|
#define BINPATH PREFIX "/bin/" |
54 |
|
#define MSGPATH DATADIR "/" PACKAGE "/messages" |
55 |
|
#define MODPATH LIBDIR "/" PACKAGE "/modules/" |
56 |
< |
#define HPATH DATADIR "/" PACKAGE "/help/opers" |
57 |
< |
#define UHPATH DATADIR "/" PACKAGE "/help/users" |
56 |
> |
#define HPATH DATADIR "/" PACKAGE "/help" |
57 |
|
#define AUTOMODPATH MODPATH "/autoload/" |
58 |
|
#define ETCPATH SYSCONFDIR |
59 |
|
#define LOGPATH LOCALSTATEDIR "/log" |
60 |
+ |
#define RUNPATH LOCALSTATEDIR "/run" |
61 |
|
|
62 |
|
/* files */ |
63 |
|
#define SPATH SBINPATH "/ircd" /* ircd executable */ |
64 |
|
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ |
65 |
< |
#define KPATH ETCPATH "/kline.conf" /* kline file */ |
66 |
< |
#define CRESVPATH ETCPATH "/cresv.conf" /* channel resvs file */ |
67 |
< |
#define NRESVPATH ETCPATH "/nresv.conf" /* nick resvs file */ |
68 |
< |
#define DLPATH ETCPATH "/dline.conf" /* dline file */ |
69 |
< |
#define XPATH ETCPATH "/xline.conf" /* xline file */ |
70 |
< |
#define RXPATH ETCPATH "/rxline.conf" |
71 |
< |
#define RKPATH ETCPATH "/rkline.conf" |
65 |
> |
#define KPATH ETCPATH "/kline.db" /* kline file */ |
66 |
> |
#define RESVPATH ETCPATH "/resv.db" /* resv file */ |
67 |
> |
#define DLPATH ETCPATH "/dline.db" /* dline file */ |
68 |
> |
#define XPATH ETCPATH "/xline.db" /* xline file */ |
69 |
> |
#define GPATH ETCPATH "/gline.db" /* gline file */ |
70 |
|
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */ |
71 |
|
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */ |
72 |
< |
#define PPATH LOCALSTATEDIR "/ircd.pid" /* pid file */ |
72 |
> |
#define PPATH RUNPATH "/ircd.pid" /* pid file */ |
73 |
|
#define LIPATH ETCPATH "/links.txt" /* cached links file */ |
74 |
|
|
75 |
|
/* |
92 |
|
|
93 |
|
/* class {} default values */ |
94 |
|
#define DEFAULT_SENDQ 9000000 /* default max SendQ */ |
95 |
+ |
#define DEFAULT_RECVQ 2560 /* default max RecvQ */ |
96 |
|
#define PORTNUM 6667 /* default outgoing portnum */ |
97 |
|
#define DEFAULT_PINGFREQUENCY 120 /* Default ping frequency */ |
98 |
|
#define DEFAULT_CONNECTFREQUENCY 600 /* Default connect frequency */ |
99 |
+ |
#define CLIENT_FLOOD_MAX 8000 |
100 |
+ |
#define CLIENT_FLOOD_MIN 512 |
101 |
|
|
102 |
|
#define WATCHSIZE_MIN 1 |
103 |
|
#define WATCHSIZE_DEFAULT 32 |
116 |
|
/* General defaults */ |
117 |
|
#define MAXIMUM_LINKS_DEFAULT 0 /* default for maximum_links */ |
118 |
|
|
118 |
– |
#define CLIENT_FLOOD_DEFAULT 2560 /* default for client_flood */ |
119 |
– |
#define CLIENT_FLOOD_MAX 8000 |
120 |
– |
#define CLIENT_FLOOD_MIN 512 |
121 |
– |
|
119 |
|
#define LINKS_DELAY_DEFAULT 300 |
120 |
|
|
121 |
|
#define MAX_TARGETS_DEFAULT 4 /* default for max_targets */ |