| 43 |
|
#include "s_conf.h" |
| 44 |
|
#include "s_log.h" |
| 45 |
|
#include "s_serv.h" |
| 46 |
– |
#include "s_stats.h" |
| 46 |
|
#include "send.h" |
| 47 |
|
#include "supported.h" |
| 48 |
|
#include "whowas.h" |
| 336 |
|
|
| 337 |
|
if (IsNeedIdentd(aconf)) |
| 338 |
|
{ |
| 339 |
< |
ServerStats->is_ref++; |
| 339 |
> |
++ServerStats.is_ref; |
| 340 |
|
sendto_one(source_p, ":%s NOTICE %s :*** Notice -- You need to install " |
| 341 |
|
"identd to use this server", me.name, source_p->name); |
| 342 |
|
exit_client(source_p, &me, "Install identd"); |
| 365 |
|
|
| 366 |
|
if (!match_conf_password(pass, aconf)) |
| 367 |
|
{ |
| 368 |
< |
ServerStats->is_ref++; |
| 368 |
> |
++ServerStats.is_ref; |
| 369 |
|
sendto_one(source_p, form_str(ERR_PASSWDMISMATCH), |
| 370 |
|
me.name, source_p->name); |
| 371 |
|
exit_client(source_p, &me, "Bad Password"); |
| 395 |
|
sendto_realops_flags(UMODE_FULL, L_ALL, |
| 396 |
|
"Too many clients, rejecting %s[%s].", |
| 397 |
|
nick, source_p->host); |
| 398 |
< |
ServerStats->is_ref++; |
| 398 |
> |
++ServerStats.is_ref; |
| 399 |
|
exit_client(source_p, &me, "Sorry, server is full - try later"); |
| 400 |
|
return; |
| 401 |
|
} |
| 407 |
|
|
| 408 |
|
sendto_realops_flags(UMODE_REJ, L_ALL, "Invalid username: %s (%s@%s)", |
| 409 |
|
nick, source_p->username, source_p->host); |
| 410 |
< |
ServerStats->is_ref++; |
| 410 |
> |
++ServerStats.is_ref; |
| 411 |
|
ircsprintf(tmpstr2, "Invalid username [%s]", source_p->username); |
| 412 |
|
exit_client(source_p, &me, tmpstr2); |
| 413 |
|
return; |
| 1204 |
|
get_client_name(source_p, HIDE_IP), |
| 1205 |
|
source_p->sockhost); |
| 1206 |
|
|
| 1207 |
< |
ServerStats->is_ref++; |
| 1207 |
> |
++ServerStats.is_ref; |
| 1208 |
|
if (REJECT_HOLD_TIME > 0) |
| 1209 |
|
{ |
| 1210 |
|
sendto_one(source_p, ":%s NOTICE %s :Bad user info", |