mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fix conditional on CTCP in urlSnarfer.
Broken in8bb31a54e7
. (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…
Reference in New Issue
Block a user