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

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

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

revision 672 by michael, Tue Jun 13 07:28:30 2006 UTC revision 673 by michael, Tue Jun 13 07:38:50 2006 UTC
# Line 2916  check_class(void) Line 2916  check_class(void)
2916    {    {
2917      struct ClassItem *aclass = map_to_conf(ptr->data);      struct ClassItem *aclass = map_to_conf(ptr->data);
2918    
2919      if (!aclass->active)      if (!aclass->active && !CurrUserCount(aclass))
2920      {      {
2921        destroy_cidr_class(aclass);        destroy_cidr_class(aclass);
2922          delete_conf_item(ptr->data);
       if (!CurrUserCount(aclass))  
         delete_conf_item(ptr->data);  
2923      }      }
2924    }    }
2925  }  }

Legend:
Removed from v.672  
changed lines
  Added in v.673

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