wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18161: LJSUP-7804. maintainers and supermaintai...

Committer: gprochaev
LJSUP-7804. maintainers and supermaintainers can not unscreen comments

U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-01-31 10:50:46 UTC (rev 18160)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-01-31 11:24:31 UTC (rev 18161)
@@ -353,7 +353,7 @@
 }
 
 sub can_unscreen {
-    return 0 if $_[0]->can_moderate($_[1]);
+    return 0 if !($_[0]->can_manage($_[1]) || $_[0]->can_moderate($_[1])) && $_[0]->can_moderate($_[1]);
     return LJ::Talk::can_screen(@_);
 }
 

Tags: livejournal, pm, wisest-owl
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