[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
);
