1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 03:33:13 +02:00

Similar to previous commit, move maxperip stuff from core to module.

This was in src/hash.c, src/list.c and src/modules/stats.c.
Now all in src/modules/nick.c... or should this go into a new module?

Again, this needs some more testing, like previous commit.
This commit is contained in:
Bram Matthys
2024-09-14 20:11:56 +02:00
parent 710afe7cc7
commit 2ef39497c7
7 changed files with 220 additions and 172 deletions
-9
View File
@@ -2469,15 +2469,6 @@ extern MODVAR SSL_CTX *ctx_client;
#define TLS_PROTOCOL_ALL 0xffff
typedef struct IpUsersBucket IpUsersBucket;
struct IpUsersBucket
{
IpUsersBucket *prev, *next;
char rawip[16];
int local_clients;
int global_clients;
};
typedef struct CoreChannelModeTable CoreChannelModeTable;
struct CoreChannelModeTable {
long mode; /**< Mode value (which bit will be set) */