ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf_class.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf_class.c (file contents):
Revision 4565 by michael, Sun Aug 24 10:27:40 2014 UTC vs.
Revision 4588 by michael, Tue Aug 26 15:59:07 2014 UTC

# Line 361 | Line 361 | rebuild_cidr_list(struct ClassItem *clas
361    DLINK_FOREACH(ptr, local_client_list.head)
362    {
363      struct Client *client_p = ptr->data;
364 <    struct MaskItem *conf = client_p->localClient->confs.tail->data;
364 >    struct MaskItem *conf = client_p->connection->confs.tail->data;
365  
366      if (conf && (conf->type == CONF_CLIENT))
367        if (conf->class == class)
368 <        cidr_limit_reached(1, &client_p->localClient->ip, class);
368 >        cidr_limit_reached(1, &client_p->connection->ip, class);
369    }
370   }
371  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)