From 811ccfe3bf87689969bf7794b6d015b6ed89e222 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 29 Aug 2020 22:53:25 +0200 Subject: [PATCH] ChannelLogger: update comment --- plugins/ChannelLogger/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ChannelLogger/plugin.py b/plugins/ChannelLogger/plugin.py index 188ea2f9d..d98b2e127 100644 --- a/plugins/ChannelLogger/plugin.py +++ b/plugins/ChannelLogger/plugin.py @@ -297,8 +297,8 @@ class ChannelLogger(callbacks.Plugin): msg.nick, msg.prefix, reason) def outFilter(self, irc, msg): - # Gotta catch my own messages *somehow* :) - # Let's try this little trick... + # Mark/remember outgoing relayed messages, so we can rewrite them if + # rewriteRelayed is True. if msg.command in ('PRIVMSG', 'NOTICE'): rewriteRelayed = self.registryValue( 'rewriteRelayed', msg.channel, irc.network)