X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/b96db1e3fe1defa57976af1a423641bbe477dce2..ed6ad7a3756992ad8c65ab11376e827f8e086013:/src/s_user.c diff --git a/src/s_user.c b/src/s_user.c index 080e1b4..e6dc1ca 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -21,7 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: s_user.c 3586 2007-11-20 11:16:43Z nenolod $ */ #include "stdinc.h" @@ -452,6 +451,11 @@ register_local_user(struct Client *client_p, struct Client *source_p, const char sendto_one_notice(source_p, ":*** Your IP address %s is listed in %s", source_p->sockhost, source_p->preClient->dnsbl_listed->host); 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); + add_reject(source_p, NULL, NULL); exit_client(client_p, source_p, &me, "*** Banned (DNS blacklist)"); return CLIENT_EXITED;