Sort of standardize the display of DNSBL hit snotes.
This commit is contained in:
parent
96f20bc6f5
commit
a58c4fedeb
|
@ -453,8 +453,8 @@ register_local_user(struct Client *client_p, struct Client *source_p, const char
|
|||
source_p->preClient->dnsbl_listed->hits++;
|
||||
|
||||
sendto_realops_snomask(SNO_REJ, L_ALL,
|
||||
"%s [%s] is being disconnected due to being listed in DNS Blacklist %s",
|
||||
source_p->name, source_p->sockhost, source_p->preClient->dnsbl_listed->host);
|
||||
"%s [%s@%s] is being disconnected due to being listed in DNS Blacklist %s",
|
||||
source_p->name, source_p->username, source_p->sockhost, source_p->preClient->dnsbl_listed->host);
|
||||
|
||||
add_reject(source_p, NULL, NULL);
|
||||
exit_client(client_p, source_p, &me, "*** Banned (DNS blacklist)");
|
||||
|
|
Loading…
Reference in New Issue