summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf.c b/src/conf.c
index 3339d69..bb6a354 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -383,13 +383,12 @@ attach_iline(struct Client *client_p, struct MaskItem *conf)
int a_limit_reached = 0;
unsigned int local = 0, global = 0, ident = 0;
+ assert(conf->class);
+
ip_found = find_or_add_ip(&client_p->localClient->ip);
ip_found->count++;
SetIpHash(client_p);
- if (conf->class == NULL)
- return NOT_AUTHORIZED; /* If class is missing, this is best */
-
class = conf->class;
count_user_host(client_p->username, client_p->host,