Fix conditional on CTCP in urlSnarfer.

Broken in 8bb31a54e7.

( 8bb31a54e7\#diff-44309956f4d4fbbe0b8499c3d849080fL209-R212 )
This commit is contained in:
Valentin Lorentz 2019-10-22 17:57:39 +02:00
parent d3a2964705
commit 71cc414ff3

View File

@ -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: