* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: s_auth.c 3161 2007-01-25 07:23:01Z nenolod $ */
+ * $Id: s_auth.c 3354 2007-04-03 09:21:31Z nenolod $ */
/*
* Changes:
++ServerStats->is_abad;
return 0;
}
- if((MAXCONNECTIONS - 10) < fd)
+
+ /*
+ * TBD: this is a pointless arbitrary limit .. we either have a socket or not. -nenolod
+ */
+ if((comm_get_maxconnections() - 10) < fd)
{
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"Can't allocate fd for auth on %s",