From 998156467de2ee0f52c3f5bc84952abaf9d642ad Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 31 Oct 2022 19:46:37 +0000 Subject: comment conf.h somewhat --- conf.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/conf.h b/conf.h index 084fce4..d42838d 100644 --- a/conf.h +++ b/conf.h @@ -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" -- cgit v1.2.3