/[svn]/ircd-hybrid-8/src/s_serv.c
ViewVC logotype

Diff of /ircd-hybrid-8/src/s_serv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1376 by michael, Mon Apr 9 14:13:29 2012 UTC revision 1377 by michael, Mon Apr 30 19:35:16 2012 UTC
# Line 324  try_connections(void *unused) Line 324  try_connections(void *unused)
324        confrq = DEFAULT_CONNECTFREQUENCY;        confrq = DEFAULT_CONNECTFREQUENCY;
325      else      else
326      {      {
327        confrq = ConFreq(cltmp);        confrq = cltmp->con_freq;
328        if (confrq < MIN_CONN_FREQ )        if (confrq < MIN_CONN_FREQ)
329          confrq = MIN_CONN_FREQ;          confrq = MIN_CONN_FREQ;
330      }      }
331    
# Line 337  try_connections(void *unused) Line 337  try_connections(void *unused)
337      if (hash_find_server(conf->name) != NULL)      if (hash_find_server(conf->name) != NULL)
338        continue;        continue;
339    
340      if (CurrUserCount(cltmp) < MaxTotal(cltmp))      if (cltmp->curr_user_count < cltmp->max_total)
341      {      {
342        /* Go to the end of the list, if not already last */        /* Go to the end of the list, if not already last */
343        if (ptr->next != NULL)        if (ptr->next != NULL)

Legend:
Removed from v.1376  
changed lines
  Added in v.1377

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28