!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);
}
}