summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-18 16:32:41 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-18 16:32:41 +0000
commitb03e82d7d93105ddc3181acf142ddcbaccc55eb0 (patch)
tree2ee0beea864a56953baf8fb0253061871c7bb9f0
parent95e378d23bae26bd71466029315f3436f29a90d1 (diff)
- Back out previous changes to detach_conf()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2277 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 6b4fea5..73a50a0 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -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)