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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user