summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
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");