ChannelLogger: update comment

This commit is contained in:
Valentin Lorentz 2020-08-29 22:53:25 +02:00
parent 532d38d6da
commit 811ccfe3bf

View File

@ -297,8 +297,8 @@ class ChannelLogger(callbacks.Plugin):
msg.nick, msg.prefix, reason) msg.nick, msg.prefix, reason)
def outFilter(self, irc, msg): def outFilter(self, irc, msg):
# Gotta catch my own messages *somehow* :) # Mark/remember outgoing relayed messages, so we can rewrite them if
# Let's try this little trick... # rewriteRelayed is True.
if msg.command in ('PRIVMSG', 'NOTICE'): if msg.command in ('PRIVMSG', 'NOTICE'):
rewriteRelayed = self.registryValue( rewriteRelayed = self.registryValue(
'rewriteRelayed', msg.channel, irc.network) 'rewriteRelayed', msg.channel, irc.network)