summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-09 23:15:35 -0400
committerTest_User <hax@andrewyu.org>2023-08-09 23:15:35 -0400
commit0a4de3b7f0159fc44f87996e1d25678e3b456878 (patch)
tree9b584c1e59cb14f432b1425251a7a53f88a02ad3 /config.h
parent23003e705b1818d647a89ed415ced1d199561cca (diff)
downloadcoupserv-0a4de3b7f0159fc44f87996e1d25678e3b456878.tar.gz
coupserv-0a4de3b7f0159fc44f87996e1d25678e3b456878.zip
de-hardcode hax.irc.andrewyu.org, place example in config.h
Diffstat (limited to 'config.h')
-rw-r--r--config.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/config.h b/config.h
index 9011e6e..3a783e5 100644
--- a/config.h
+++ b/config.h
@@ -32,18 +32,20 @@
#include "types.h"
-extern struct string address;
-extern struct string port;
-extern struct string nick;
-extern struct string log_channel;
-extern struct string recv_password;
-extern struct string send_password;
-extern struct string hostmask;
-extern struct string prejoin_channels[];
-extern uint64_t num_prejoin_channels;
+extern struct string address; // = STRING("irc.nowhere.net");
+extern struct string port; // = STRING("1234");
+extern struct string nick; // = STRING("HaxServ");
+extern struct string server_name; // = STRING("hax.irc.nowhere.net");
-extern struct string command_prefix;
+extern struct string log_channel; // = STRING("#logs");
+extern struct string recv_password; // = STRING("password we should get back from the other server");
+extern struct string send_password; // = STRING("password to send for auth");
+extern struct string hostmask; // = STRING("NetworkHaxxors/HaxServ");
+extern struct string prejoin_channels[]; // = {STRING("#logs"), STRING("#services"), STRING("#blahblahblah")}
+extern uint64_t num_prejoin_channels; // = sizeof(prejoin_channels) / sizeof(*prejoin_channels);
-extern struct string client_hostmask;
+extern struct string command_prefix; // = STRING(".");
-extern struct string opertype;
+extern struct string client_hostmask; // = STRING("127.0.0.1");
+
+extern struct string opertype; // = STRING("Admin");