mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
fixing reject.c compilation + some changes I forgot in previous changeset
This commit is contained in:
parent
acd639c5de
commit
9072ba07bd
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue