Log to serverlog when throwing out a server because of a bad nickname.
This commit is contained in:
parent
6c77f1f74f
commit
4dd5d304eb
1 changed files with 2 additions and 0 deletions
|
@ -1290,6 +1290,8 @@ static void bad_nickname(struct Client *client_p, const char *nick)
|
|||
sendto_server(NULL, NULL, CAP_TS6, NOCAPS,
|
||||
":%s WALLOPS :Squitting %s because of bad nickname %s (NICKLEN mismatch?)",
|
||||
me.id, client_p->name, nick);
|
||||
ilog(L_SERVER, "Link %s cancelled, bad nickname %s sent (NICKLEN mismatch?)",
|
||||
client_p->name, nick);
|
||||
|
||||
rb_snprintf(squitreason, sizeof squitreason,
|
||||
"Bad nickname introduced [%s]", nick);
|
||||
|
|
Loading…
Reference in a new issue