fixing reject.c compilation + some changes I forgot in previous changeset
This commit is contained in:
parent
9d948d2b6d
commit
58dfaed919
|
@ -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 New Issue