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

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

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

revision 1012 by michael, Fri Sep 18 10:14:09 2009 UTC revision 1013 by michael, Sun Oct 18 14:26:49 2009 UTC
# Line 491  try_connections(void *unused) Line 491  try_connections(void *unused)
491    DLINK_FOREACH(ptr, server_items.head)    DLINK_FOREACH(ptr, server_items.head)
492    {    {
493      conf = ptr->data;      conf = ptr->data;
494      aconf = (struct AccessItem *)map_to_conf(conf);      aconf = map_to_conf(conf);
495    
496      /* Also when already connecting! (update holdtimes) --SRB      /* Also when already connecting! (update holdtimes) --SRB
497       */       */
498      if (!(aconf->status & CONF_SERVER) || aconf->port <= 0 ||      if (!(aconf->status & CONF_SERVER) || !aconf->port ||
499          !(IsConfAllowAutoConn(aconf)))          !(IsConfAllowAutoConn(aconf)))
500        continue;        continue;
501    
502      cltmp = (struct ClassItem *)map_to_conf(aconf->class_ptr);      cltmp = map_to_conf(aconf->class_ptr);
503    
504      /* Skip this entry if the use of it is still on hold until      /* Skip this entry if the use of it is still on hold until
505       * future. Otherwise handle this entry (and set it on hold       * future. Otherwise handle this entry (and set it on hold
# Line 583  check_server(const char *name, struct Cl Line 583  check_server(const char *name, struct Cl
583    DLINK_FOREACH(ptr, server_items.head)    DLINK_FOREACH(ptr, server_items.head)
584    {    {
585      conf = ptr->data;      conf = ptr->data;
586      aconf = (struct AccessItem *)map_to_conf(conf);      aconf = map_to_conf(conf);
587    
588      if (!match(name, conf->name))      if (!match(name, conf->name))
589        continue;        continue;

Legend:
Removed from v.1012  
changed lines
  Added in v.1013

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