X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..ed6565a5a0f276a469e208774bf5a9e4da0e2b9b:/extensions/sno_globalkline.c diff --git a/extensions/sno_globalkline.c b/extensions/sno_globalkline.c index 8a5699a..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" @@ -45,7 +44,19 @@ h_gla_client_exit(hook_data_client_exit *hdata) !strcmp(hdata->comment, ConfigFileEntry.kline_reason)) { sendto_realops_snomask_from(SNO_GENERAL, L_ALL, source_p->servptr, - "K/D/GLINE active for %s[%s@%s]", + "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); } }