Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17777: LJSUP-7319 (Antispam: massfriending)

Committer: ailyin
LJSUP-7319 (Antispam: massfriending)
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2010-11-25 04:32:53 UTC (rev 17776)
+++ trunk/cgi-bin/ljprotocol.pl	2010-11-25 07:32:35 UTC (rev 17777)
@@ -2876,7 +2876,7 @@
             if ($sclient && !$currently_is_friend && !$currently_is_banned) {
                 ## delay event to accumulate users activity
                 require LJ::Event::BefriendedDelayed;
-                LJ::Event::BefriendedDelayed->new(
+                LJ::Event::BefriendedDelayed->send(
                                                     LJ::load_userid($friendid), ## to user
                                                     LJ::load_userid($userid)    ## from user
                                                     );

Tags: andy, livejournal, pl
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