0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 05:38:53 +02:00

fixing reject.c compilation + some changes I forgot in previous changeset

This commit is contained in:
Valery Yatsko 2008-04-02 16:53:21 +04:00
parent acd639c5de
commit 9072ba07bd
2 changed files with 1 additions and 3 deletions

View file

@ -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;

View file

@ -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");
}