aboutsummaryrefslogtreecommitdiffstats
path: root/src/Reaktor.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Reaktor.hs')
-rw-r--r--src/Reaktor.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Reaktor.hs b/src/Reaktor.hs
index 27d9003..76b11d5 100644
--- a/src/Reaktor.hs
+++ b/src/Reaktor.hs
@@ -165,6 +165,8 @@ splitter plugins takeInMsg =
logMsgFilter :: Message -> Maybe Message
logMsgFilter = \case
+ Message p AUTHENTICATE [s] | not (elem s ["PLAIN", "+"]) ->
+ Just (Message p AUTHENTICATE ["***REDACTED***"])
Message _ PING _ -> Nothing
Message _ PONG _ -> Nothing
Message p PRIVMSG ["NickServ",xs] | check -> do