mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-27 02:50:49 +01:00
Fix conditional on CTCP in urlSnarfer.
Broken in 8bb31a54e719af4deaa52b28c22792880492f711.
( 8bb31a54e7
\#diff-44309956f4d4fbbe0b8499c3d849080fL209-R212 )
This commit is contained in:
parent
d3a2964705
commit
71cc414ff3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user