diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-18 16:30:37 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-18 16:30:37 +0000 |
commit | 95e378d23bae26bd71466029315f3436f29a90d1 (patch) | |
tree | bcc6c55c98effb2baf1b54d5c3d2f62e464197f3 /src/conf.c | |
parent | 014c726bbf8bd1c19d6e155cea58e720001e9de0 (diff) |
- conf.c:detach_conf(): fixed bug where we didn't call remove_from_cidr_check()
in some cases
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2276 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -681,7 +681,7 @@ detach_conf(struct Client *client_p, enum maskitem_type type) dlinkDelete(ptr, &client_p->localClient->confs); free_dlink_node(ptr); - if (conf->type == CONF_CLIENT) + if (conf->type & CONF_CLIENT) remove_from_cidr_check(&client_p->localClient->ip, conf->class); if (--conf->class->ref_count == 0 && conf->class->active == 0) |