madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22190: LJSUP-12507: should not work PingBack bo...

Committer: sbelyaev
LJSUP-12507: should not work PingBack bot for repost entry
U   trunk/cgi-bin/LJ/PingBack.pm
Modified: trunk/cgi-bin/LJ/PingBack.pm
===================================================================
--- trunk/cgi-bin/LJ/PingBack.pm	2012-06-07 09:28:31 UTC (rev 22189)
+++ trunk/cgi-bin/LJ/PingBack.pm	2012-06-07 09:50:33 UTC (rev 22190)
@@ -21,6 +21,10 @@
         return "Unknown entry";
     }
 
+    if ($target_entry->original_post) {
+        return "fast repost";
+    }
+
     # empty object means, that sourceURI is not LJ.com's page.
     # it's an usual case.
     my $source_entry = LJ::Entry->new_from_url($sourceURI);

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