]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
rehash bans: show mask in k/x line over-ruled notice
authorJilles Tjoelker <redacted>
Sun, 8 Mar 2009 13:31:50 +0000 (14:31 +0100)
committerJilles Tjoelker <redacted>
Sun, 8 Mar 2009 13:31:50 +0000 (14:31 +0100)
This was already shown in the over-ruled notices on k/x line add.

src/client.c

index 41da8952df029a3ac5c29f874b2b08ed3dc18312..2aa84520c51417d6641758e5cf28a6768e0a991c 100644 (file)
@@ -563,8 +563,9 @@ check_klines(void)
                        if(IsExemptKline(client_p))
                        {
                                sendto_realops_snomask(SNO_GENERAL, L_ALL,
-                                                    "KLINE over-ruled for %s, client is kline_exempt",
-                                                    get_client_name(client_p, HIDE_IP));
+                                                    "KLINE over-ruled for %s, client is kline_exempt [%s@%s]",
+                                                    get_client_name(client_p, HIDE_IP),
+                                                    aconf->user, aconf->host);
                                continue;
                        }
 
@@ -654,8 +655,9 @@ check_xlines(void)
                        if(IsExemptKline(client_p))
                        {
                                sendto_realops_snomask(SNO_GENERAL, L_ALL,
-                                                    "XLINE over-ruled for %s, client is kline_exempt",
-                                                    get_client_name(client_p, HIDE_IP));
+                                                    "XLINE over-ruled for %s, client is kline_exempt [%s]",
+                                                    get_client_name(client_p, HIDE_IP),
+                                                    aconf->name);
                                continue;
                        }