]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/sno_globalkline.c
report logfile access issues
[irc/rqf/shadowircd.git] / extensions / sno_globalkline.c
index 487044ec09e523c8cd0072aadb4ccea11344fd4a..a654c4889c02a2dbba09ac7462ac609a668a8c7b 100644 (file)
@@ -48,4 +48,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);
+       }
 }