summaryrefslogtreecommitdiff
path: root/src/common-setup.h
blob: 9bdd6eebc3c723c3f33a4e39d80c6e91458d9a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __COMMON_SETUP_H
#define __COMMON_SETUP_H

#define LOG_FILE_CREATE_MODE 0644

/* wait for half an hour before trying to reconnect to host where last
   connection failed */
#define FAILED_RECONNECT_WAIT (60*30)

/* How often to check if there's anyone to be unignored in autoignore list */
#define AUTOIGNORE_TIMECHECK 10000

/* How often to check if there's anyone to be unbanned in knockout list */
#define KNOCKOUT_TIMECHECK 10000

/* How often to check for gone status of nick */
#define MAX_GONE_REFRESH_TIME 300

/* How long to keep netsplits in memory (seconds) */
#define NETSPLIT_MAX_REMEMBER (60*30)

#endif