nfokz wrote in changelog

[livejournal] r20301: LJSV-1695: Awating moderation / queue li...

Committer: anazarov
LJSV-1695: Awating moderation / queue link missing for community maintainers.
U   trunk/htdocs/community/moderate.bml
Modified: trunk/htdocs/community/moderate.bml
===================================================================
--- trunk/htdocs/community/moderate.bml	2011-10-13 01:10:33 UTC (rev 20300)
+++ trunk/htdocs/community/moderate.bml	2011-10-13 07:46:15 UTC (rev 20301)
@@ -45,7 +45,7 @@
         }
         my $dbcm = LJ::get_cluster_master($c);
 
-        unless (LJ::check_rel($c, $remote, 'M') || ($remote && $remote->can_super_manage($c))) {
+        unless ($remote->can_moderate($c) || $remote->can_manage($c) || $remote->can_super_manage($c)) {
             $ret .= "<?h1 $ML{'Error'} h1?><?p " .
                 BML::ml('.error.noaccess', {'comm'=>"<?ljcomm $c->{'user'} ljcomm?>"}) . " p?>";
             return $ret;