diff options
Diffstat (limited to 'conf.h')
-rw-r--r-- | conf.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,19 +1,26 @@ #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" - #define SOCKETDIR "socks" + // 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" |