summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-26 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-26 08:00:00 +0800
commit8d926a4f1dd6f3f0982772112c0b3679d731e35c (patch)
treef244314ce955519e284c5408ea004a34c5519f7a
parent3200b4078a73bf6917442038625a1e694d7f41a8 (diff)
downloadhaxircd-docs-8d926a4f1dd6f3f0982772112c0b3679d731e35c.tar.gz
haxircd-docs-8d926a4f1dd6f3f0982772112c0b3679d731e35c.zip
config.md: formatting
-rw-r--r--config.md29
1 files changed, 16 insertions, 13 deletions
diff --git a/config.md b/config.md
index 572a4d0..d02ee3b 100644
--- a/config.md
+++ b/config.md
@@ -63,15 +63,15 @@ struct server_config SERVER_CONFIG[] = {
.ignore_remote_kills = 1,
.ignore_local_kills = 1,
- /*
- * Set autoconnect to 1 if you want to connect to this server.
- * Set autoconnect to 0 if you want this server to connect to you.
- */
+ /*
+ * Set autoconnect to 1 if you want to connect to this server.
+ * Set autoconnect to 0 if you want this server to connect to you.
+ */
.autoconnect = 1,
/*
- * This option is ignored when autoconnect=0.
- *
+ * This option is ignored when autoconnect=0.
+ *
* TLS links are highly recommended if not connecting to localhost
* or otherwise over a secure channel such as WireGuard. Although
* GnuTLS is supported, the primary developers use OpenSSL, and
@@ -90,7 +90,7 @@ struct server_config SERVER_CONFIG[] = {
/*
* The address and the port to connect to. The address may be
- * either an IP address or a resolvable domain.
+ * either an IP address or a resolvable domain.
*/
.address = STRING("127.0.0.1"),
.port = STRING("7000"),
@@ -265,7 +265,7 @@ char SERVER_INCOMING[NUM_NET_TYPES][NUM_PROTOCOLS] = {
};
#endif
-/*
+/*
* The following section includes configuration for the primary
* pseudoclient, HaxServ.
*/
@@ -304,7 +304,7 @@ size_t GNUTLS_BUFFERED_LEN = 1048576;
size_t OPENSSL_BUFFERED_LEN = 1048576;
#endif
-/*
+/*
* The following section includes configuration for the IRC
* services, such as NickServ.
*/
@@ -339,10 +339,10 @@ the following:
# counterparts. The size of the ring buffer is configurable in
# config.c.
LAST_PLAINTEXT_NETWORK = 1
-LAST_GNUTLS_NETWORK =
+LAST_GNUTLS_NETWORK =
LAST_OPENSSL_NETWORK = 1
LAST_PLAINTEXT_BUFFERED_NETWORK = 1
-LAST_GNUTLS_BUFFERED_NETWORK =
+LAST_GNUTLS_BUFFERED_NETWORK =
LAST_OPENSSL_BUFFERED_NETWORK = 1
# CLIENT: Support connections from clients. (Not implemented yet.)
@@ -370,7 +370,7 @@ LAST_SAFE_STACK = 1
# semaphores or futexes. If neither FUTEX or MISERABLE_SPINLOCKS are
# defined, POSIX semaphores are used.
LAST_FUTEX = 1
-LAST_MISERABLE_SPINLOCKS =
+LAST_MISERABLE_SPINLOCKS =
LAST_ATOMICS = 1
# You must enable at least one of the below. Enabling both is recommended,
@@ -380,7 +380,7 @@ LAST_IPv4 = 1
LAST_IPv6 = 1
# General options.
-LAST_CFLAGS =
+LAST_CFLAGS =
LAST_CC = cc
```
@@ -403,3 +403,6 @@ make
```sh
./HaxIRCd
```
+
+<!-- vim: noexpandtab ts=8 sw=8
+-->