From cef581cd387831dfa9b8cc78d32c8b8814b7e9bd Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Sun, 1 Oct 2023 09:29:23 -0700 Subject: [PATCH] Update snotice hook for dline disconnects --- src/Client/Hook/Snotice.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/Hook/Snotice.hs b/src/Client/Hook/Snotice.hs index cb03b794..04ea634d 100644 --- a/src/Client/Hook/Snotice.hs +++ b/src/Client/Hook/Snotice.hs @@ -114,8 +114,8 @@ patterns = map toPattern (1, "f", [str|^Failed (OPER|CHALLENGE) attempt - host mismatch|]), (3, "f", [str|^Failed (OPER|CHALLENGE) attempt|]), -- ORDER IMPORTANT - catch all failed attempts that aren't host mismatch - (1, "k", [str|^Rejecting [XK]-Lined user|]), - (1, "k", [str|^Disconnecting [XK]-Lined user|]), + (1, "k", [str|^Rejecting [DKX]-Lined user|]), + (1, "k", [str|^Disconnecting [DKX]-Lined user|]), (1, "k", [str|^KLINE active for|]), (1, "k", [str|^XLINE active for|]), (3, "k", [str|^KLINE over-ruled for |]),