Don't snarf URLs from command messages (#18)

This prevents double replies
This commit is contained in:
Valentin Lorentz 2020-05-05 19:54:01 +02:00 committed by GitHub
parent 77976a4507
commit 88f61e0712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,8 @@ class SpiffyTitles(callbacks.Plugin):
"""
Observe each channel message and look for links
"""
if callbacks.addressed(irc, msg):
return
channel = msg.args[0]
ignore_actions = self.registryValue("ignoreActionLinks", channel=msg.args[0])
is_channel = irc.isChannel(channel)