]> jfr.im git - solanum.git/blobdiff - src/s_conf.c
Remove conf_connect_allowed(), neither used nor declared.
[solanum.git] / src / s_conf.c
index 8ce36d4af78ab27db38835f38c6a02aa040dc769..d689fb0c0699f04c9b4a1446249d11d8032867cf 100644 (file)
@@ -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