diff --git a/ircd/client.c b/ircd/client.c index 7b68f949..9c8913d8 100644 --- a/ircd/client.c +++ b/ircd/client.c @@ -570,6 +570,8 @@ check_klines(void) /* check_one_kline() + * + * This process needs to be kept in sync with find_kline() aka find_conf_by_address(). * * inputs - pointer to kline to check * outputs - diff --git a/ircd/hostmask.c b/ircd/hostmask.c index c6e124aa..aa68603a 100644 --- a/ircd/hostmask.c +++ b/ircd/hostmask.c @@ -198,6 +198,9 @@ get_mask_hash(const char *text) /* struct ConfItem* find_conf_by_address(const char*, struct rb_sockaddr_storage*, * int type, int fam, const char *username) + * + * This process needs to be kept in sync with check_one_kline(). + * * Input: The hostname, the address, the type of mask to find, the address * family, the username. * Output: The matching value with the highest precedence.