From 71cc414ff34a3908b53f27bbc84a5f33a5453131 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 22 Oct 2019 17:57:39 +0200 Subject: [PATCH] Fix conditional on CTCP in urlSnarfer. Broken in 8bb31a54e719af4deaa52b28c22792880492f711. ( https://github.com/ProgVal/Limnoria/commit/8bb31a54e719af4deaa52b28c22792880492f711\#diff-44309956f4d4fbbe0b8499c3d849080fL209-R212 ) --- src/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.py b/src/commands.py index 2689776ce..bd62cedfa 100644 --- a/src/commands.py +++ b/src/commands.py @@ -210,7 +210,7 @@ def urlSnarfer(f): if not channel: # Don't snarf in private return - if not (ircmsgs.isCtcp(msg) and not ircmsgs.isAction(msg)): + if ircmsgs.isCtcp(msg) and not ircmsgs.isAction(msg): # Don't snarf CTCPs unless they are a /me return if ircdb.channels.getChannel(channel).lobotomized: