Committer: ahassanDon't send moderated community notifs to non-visible accounts
U trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl 2008-01-23 19:55:17 UTC (rev 13472)
+++ trunk/cgi-bin/ljprotocol.pl 2008-01-23 20:08:29 UTC (rev 13473)
@@ -939,6 +939,8 @@
my @emails;
foreach my $mod (values %$modlist) {
+ next unless $mod->is_visible;
+
LJ::load_user_props($mod, 'opt_nomodemail');
next if $mod->{opt_nomodemail};
next if $mod->{status} ne "A";