diff options
author | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:46:37 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-10-31 19:46:37 +0000 |
commit | 998156467de2ee0f52c3f5bc84952abaf9d642ad (patch) | |
tree | 6bf5f2d6518846811def3209a79bd0ffc337b861 | |
parent | 8008ed65d1cc94eca48f3d3f01bd8ca13f773529 (diff) |
comment conf.h somewhat
-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" |