summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index b7f6eef..378cb9a 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -432,8 +432,7 @@ attach_iline(struct Client *client_p, struct MaskItem *conf)
void
init_ip_hash_table(void)
{
- ip_entry_pool = mp_pool_new(sizeof(struct ip_entry),
- 2 * hard_fdlimit);
+ ip_entry_pool = mp_pool_new(sizeof(struct ip_entry), MP_CHUNK_SIZE_IP_ENTRY);
memset(ip_hash_table, 0, sizeof(ip_hash_table));
}