aboutsummaryrefslogtreecommitdiff
path: root/conf.h
blob: d42838d67fa5cc0e88bdd0c362ae1d784e5e0bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef conf_h_INCLUDED
#define conf_h_INCLUDED


// define LOCAL for testing on localhost
// you can run something like `nc -kCl 6971` to see what 
// it is sending.
#ifdef LOCAL
	#define HOST "0.0.0.0"
	#define PORT "6971"
	#define SOCKETDIR "socks"
	#define SOCKETGROUP "cdrom"
#else
	// host and port for irc connection
	#define HOST "ubq323.website"
	#define PORT "6667"
	// directory to put the unix sockets into
	#define SOCKETDIR "/srv/apiobot"
	// group to assign as the owner of all the unix sockets
	#define SOCKETGROUP "apionet"
#endif

// irc nickname, and parameters for the USER command 
#define NICK "Bee2"
#define USERNAME "apiobot"
#define REALNAME "apiobot"

#endif // conf_h_INCLUDED