From fd5c370711b4707dfda85bdfea503227eb9b8817 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 20 Apr 2008 15:32:08 +0200 Subject: [PATCH] Remove conf_connect_allowed(), neither used nor declared. --- src/s_conf.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/s_conf.c b/src/s_conf.c index 8ce36d4af..d689fb0c0 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -904,29 +904,6 @@ validate_conf(void) * */ -/* - * conf_connect_allowed - * - * inputs - pointer to inaddr - * - int type ipv4 or ipv6 - * output - ban info or NULL - * side effects - none - */ -struct ConfItem * -conf_connect_allowed(struct sockaddr *addr, int aftype) -{ - struct ConfItem *aconf = find_dline(addr, aftype); - - /* DLINE exempt also gets you out of static limits/pacing... */ - if(aconf && (aconf->status & CONF_EXEMPTDLINE)) - return NULL; - - if(aconf != NULL) - return aconf; - - return NULL; -} - /* add_temp_kline() * * inputs - pointer to struct ConfItem