mirror of
https://github.com/pragma-/pbot.git
synced 2025-05-03 13:17:33 +02:00
Plugin/UrlTitles: fix indentation
This commit is contained in:
parent
c1cfa0ef4e
commit
756895b17f
@ -293,7 +293,7 @@ sub show_url_titles {
|
|||||||
my $url = $1;
|
my $url = $1;
|
||||||
|
|
||||||
$url =~ s/\W$//;
|
$url =~ s/\W$//;
|
||||||
$url =~ s,https://mobile.twitter.com,https://twitter.com,i;
|
$url =~ s,https://mobile.twitter.com,https://twitter.com,i;
|
||||||
|
|
||||||
if ($self->{pbot}->{antispam}->is_spam('url', $url)) {
|
if ($self->{pbot}->{antispam}->is_spam('url', $url)) {
|
||||||
$self->{pbot}->{logger}->log("Ignoring spam URL $url\n");
|
$self->{pbot}->{logger}->log("Ignoring spam URL $url\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user