1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Move allow::maxperip to its own module (maxperip), add HOOKTYPE_ALLOW_CLIENT.

Also fix documentation for ~10 hooks to mention the hook name.

Obviously, the maxperip module is loaded by default (in modules.default.conf)
but it is nice to have the 400+ lines contained in a separate module
rather than being in the nick module that does NICK/UID handling.
Will look at moving more later..
This commit is contained in:
Bram Matthys
2025-03-22 07:38:56 +01:00
parent b95c1570a9
commit 8c21472d03
7 changed files with 455 additions and 335 deletions
+4
View File
@@ -314,6 +314,7 @@ DLL_FILES=\
src/modules/lusers.dll \
src/modules/map.dll \
src/modules/max-unknown-connections-per-ip.dll \
src/modules/maxperip.dll \
src/modules/md.dll \
src/modules/message.dll \
src/modules/message-ids.dll \
@@ -1054,6 +1055,9 @@ src/modules/map.dll: src/modules/map.c $(INCLUDES)
src/modules/max-unknown-connections-per-ip.dll: src/modules/max-unknown-connections-per-ip.c $(INCLUDES)
$(CC) $(MODCFLAGS) src/modules/max-unknown-connections-per-ip.c /Fesrc/modules/ /Fosrc/modules/ /Fdsrc/modules/max-unknown-connections-per-ip.pdb $(MODLFLAGS)
src/modules/maxperip.dll: src/modules/maxperip.c $(INCLUDES)
$(CC) $(MODCFLAGS) src/modules/maxperip.c /Fesrc/modules/ /Fosrc/modules/ /Fdsrc/modules/maxperip.pdb $(MODLFLAGS)
src/modules/md.dll: src/modules/md.c $(INCLUDES)
$(CC) $(MODCFLAGS) src/modules/md.c /Fesrc/modules/ /Fosrc/modules/ /Fdsrc/modules/md.pdb $(MODLFLAGS)