aboutsummaryrefslogtreecommitdiff
path: root/conf.h
blob: c88bb3c74c28027c60826e52a362b0f067220abb (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/ch"
	// 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