Add DNSBL snotes for snomask +r.
This commit is contained in:
parent
0455e7a927
commit
48e409767f
2 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,7 @@ Server notice masks:
|
|||
+f - Clients refused due to limits
|
||||
+k - Server and service kill messages
|
||||
+n - Local client nick changes
|
||||
+r - Invalid usernames
|
||||
+r - Invalid usernames and DNSBL listings
|
||||
+s - Generic server messages and oper kills
|
||||
+u - Client connections without auth{} block
|
||||
+x - New server introduction and split messages
|
||||
|
|
|
@ -434,6 +434,11 @@ register_local_user(struct Client *client_p, struct Client *source_p, const char
|
|||
source_p->sockhost, source_p->preClient->dnsbl_listed->host);
|
||||
else
|
||||
{
|
||||
sendto_realops_snomask(SNO_REJ, L_NETWIDE,
|
||||
"DNSBL listed: %s!%s@%s{%s} %s (%s)", source_p->name,
|
||||
source_p->username, source_p->host, source_p->sockhost, source_p->info,
|
||||
source_p->preClient->dnsbl_listed->host);
|
||||
|
||||
rb_dlink_list varlist = { NULL, NULL, 0 };
|
||||
|
||||
substitution_append_var(&varlist, "nick", source_p->name);
|
||||
|
|
Loading…
Reference in a new issue