diff options
author | Yorhel <git@yorhel.nl> | 2009-10-24 10:34:31 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-10-24 10:34:31 +0200 |
commit | 45e3b46f3caf53d8e152240104b820f83317047f (patch) | |
tree | 970d3ae3918283e48124ee7cfe058d35e7353422 /lib | |
parent | 6ee4964e7f628042ce351080099dbddb5aa2d8c9 (diff) |
Discussions: Don't allow bots to index user discussion indexes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm index 5fedaeed..12b55029 100644 --- a/lib/VNDB/Handler/Discussions.pm +++ b/lib/VNDB/Handler/Discussions.pm @@ -298,7 +298,7 @@ sub board { order => $type eq 'an' ? 't.id DESC' : 'tpl.date DESC', ); - $self->htmlHeader(title => $title, noindex => !@$list); + $self->htmlHeader(title => $title, noindex => !@$list || $type eq 'u'); $self->htmlMainTabs($type, $obj, 'disc') if $iid; div class => 'mainbox'; |