Committer: sbelyaev
LJSUP-10093: ljprotocol is updated now.U trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2011-10-20 09:40:26 UTC (rev 20392) +++ trunk/cgi-bin/ljprotocol.pl 2011-10-20 09:41:04 UTC (rev 20393) @@ -2157,9 +2157,7 @@ return fail($err, 215) unless $req->{tz}; # if posting to a moderated community, store and bail out here - if ($uowner->{'journaltype'} eq 'C' && - $need_moderated && - !$flags->{'nomod'} && !$u->can_manage($uowner)) { + if ( !LJ::DelayedEntry::can_post_to($uowner, $u) && !$flags->{'nomod'} ) { return fail($err, 322); }