diff --git a/src/reject.c b/src/reject.c index 4f051c9..a076fc9 100644 --- a/src/reject.c +++ b/src/reject.c @@ -24,7 +24,6 @@ */ #include "stdinc.h" -#include "struct.h" #include "client.h" #include "s_conf.h" #include "reject.h" @@ -34,7 +33,6 @@ #include "numeric.h" #include "parse.h" #include "hostmask.h" -#include "match.h" static rb_patricia_tree_t *global_tree; static rb_patricia_tree_t *reject_tree; diff --git a/src/s_serv.c b/src/s_serv.c index 5905d08..73b9fec 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -1030,7 +1030,7 @@ server_estab(struct Client *client_p) { if(client_p != serv_list.head->data || serv_list.head->next) { - ServerStats->is_ref++; + ServerStats.is_ref++; sendto_one(client_p, "ERROR :I'm a leaf not a hub"); return exit_client(client_p, client_p, client_p, "I'm a leaf"); }