X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d5a432fa0092f39dbb517b5665f35dc87e5a88f7..b7262e0cce548a229abf9f9a0a04485f573ee75f:/extensions/sno_globalkline.c diff --git a/extensions/sno_globalkline.c b/extensions/sno_globalkline.c index 487044e..8fb26e8 100644 --- a/extensions/sno_globalkline.c +++ b/extensions/sno_globalkline.c @@ -6,7 +6,6 @@ * Yes, this is a hack, but it is simple and avoids sending * more data across servers -- jilles * - * $Id: sno_globalkline.c 613 2006-01-29 03:03:02Z nenolod $ */ #include "stdinc.h" @@ -48,4 +47,16 @@ h_gla_client_exit(hook_data_client_exit *hdata) "K/DLINE active for %s[%s@%s]", source_p->name, source_p->username, source_p->host); } + else if (!strncmp(hdata->comment, "Temporary K-line ", 17)) + { + sendto_realops_snomask_from(SNO_GENERAL, L_ALL, source_p->servptr, + "K/DLINE active for %s[%s@%s]", + source_p->name, source_p->username, source_p->host); + } + else if (!strncmp(hdata->comment, "Temporary D-line ", 17)) + { + sendto_realops_snomask_from(SNO_GENERAL, L_ALL, source_p->servptr, + "K/DLINE active for %s[%s@%s]", + source_p->name, source_p->username, source_p->host); + } }