28 |
|
#include "s_conf.h" |
29 |
|
#include "s_serv.h" |
30 |
|
#include "resv.h" |
31 |
– |
#include "s_stats.h" |
31 |
|
#include "channel.h" |
32 |
|
#include "client.h" |
33 |
|
#include "common.h" |
838 |
|
source_p->sockhost); |
839 |
|
ilog(L_INFO,"Too many connections on IP from %s.", |
840 |
|
get_client_name(source_p, SHOW_IP)); |
841 |
< |
ServerStats->is_ref++; |
841 |
> |
++ServerStats.is_ref; |
842 |
|
exit_client(source_p, &me, "No more connections allowed on that IP"); |
843 |
|
break; |
844 |
|
|
849 |
|
source_p->sockhost); |
850 |
|
ilog(L_INFO,"Too many connections from %s.", |
851 |
|
get_client_name(source_p, SHOW_IP)); |
852 |
< |
ServerStats->is_ref++; |
852 |
> |
++ServerStats.is_ref; |
853 |
|
exit_client(source_p, &me, |
854 |
|
"No more connections allowed in your connection class"); |
855 |
|
break; |
856 |
|
|
857 |
|
case NOT_AUTHORIZED: |
858 |
< |
ServerStats->is_ref++; |
858 |
> |
++ServerStats.is_ref; |
859 |
|
/* jdc - lists server name & port connections are on */ |
860 |
|
/* a purely cosmetical change */ |
861 |
|
sendto_realops_flags(UMODE_UNAUTH, L_ALL, |
897 |
|
} |
898 |
|
else |
899 |
|
exit_client(source_p, &me, "Banned"); |
900 |
< |
ServerStats->is_ref++; |
900 |
> |
++ServerStats.is_ref; |
901 |
|
break; |
902 |
|
|
903 |
|
case 0: |