aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-24 17:52:45 -0400
committerTest_User <hax@andrewyu.org>2024-06-24 18:09:48 -0400
commit9778d7df241baeab6ee3fff978b8e0d6a8897cdb (patch)
tree2b6104ef4d8934b1b85801ce20a41bbb406cc1f9 /config.h
parent99449f390c045b25ac1ddb1fa406b7a371523182 (diff)
downloadhaxircd-9778d7df241baeab6ee3fff978b8e0d6a8897cdb.tar.gz
haxircd-9778d7df241baeab6ee3fff978b8e0d6a8897cdb.zip
Yay basic NickServ actually functions now
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/config.h b/config.h
index ee86e61..2d99a0d 100644
--- a/config.h
+++ b/config.h
@@ -33,9 +33,9 @@
#include "general_network.h"
#include "protocols.h"
-// #define K * 1024
-// #define M * (1024 K)
-// #define G * (1024 M)
+// #define K * 1024LU
+// #define M * (1024LU K)
+// #define G * (1024LU M)
#ifdef USE_SERVER
struct server_config {
@@ -59,7 +59,7 @@ struct server_config {
struct string port; // = "4321",
};
extern struct server_config SERVER_CONFIG[]; // = {{...}, ...};
-extern size_t SERVER_CONFIG_LEN; // = sizeof(server_config)/sizeof(*server_config);
+extern size_t SERVER_CONFIG_LEN; // = sizeof(SERVER_CONFIG)/sizeof(*SERVER_CONFIG);
#endif
extern struct string SID; // = STRING("200");
@@ -127,4 +127,6 @@ extern struct string NICKSERV_HOST; // = STRING("localhost");
extern struct string NICKSERV_ADDRESS; // = STRING("/dev/null");
extern struct string SERVICES_CHANNEL; // = STRING("#services");
+
+extern size_t SERVICES_DB_MAX_SIZE; // = 100 M;
#endif