madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22287: LJSUP-12622: Not working PingBack bot

Committer: sbelyaev
LJSUP-12622: Not working PingBack bot
U   trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm
Modified: trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm
===================================================================
--- trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm	2012-06-20 08:14:43 UTC (rev 22286)
+++ trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm	2012-06-20 10:51:17 UTC (rev 22287)
@@ -37,7 +37,7 @@
         my $target_entry = LJ::Entry->new_from_url($link->{uri});
 
         next unless $target_entry;
-        next unless $target_entry->original_post;
+        next if $target_entry->original_post;
         next unless LJ::PingBack->should_entry_recieve_pingback($target_entry);
         next unless log_ping($source_entry, $target_entry);
 

Tags: livejournal, madeon, pm, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments