mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-25 17:26:38 +02:00
60c83b4ba1
These deal with set::anti-flood::everyone::connect-flood and set::max-unknown-connections-per-ip respectively. This adds a new hook HOOKTYPE_ACCEPT, that is mostly meant for internal usage by UnrealIRCd. Most module coders will want to use the existing hook HOOKTYPE_HANDSHAKE instead. This also gets of check_banned() which is now spread over the individual modules (eg: checking banned is done in tkl on HOOKTYPE_ACCEPT and HOOKTYPE_IP_CHANGE).