--- a/branches/2.5.4/cgi-bin/yabb2/Sources/MessageIndex.pm
+++ b/branches/2.5.4/cgi-bin/yabb2/Sources/MessageIndex.pm
@@ -17,7 +17,7 @@
 use CGI::Carp qw(fatalsToBrowser);
 our $VERSION = '2.5.4';
 
-$messageindexpmver = 'YaBB 2.5.4 $Revision: 1052 $';
+$messageindexpmver = 'YaBB 2.5.4 $Revision: 1078 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 LoadLanguage('MessageIndex');
@@ -96,6 +96,11 @@
         if ( $showmodgroups ne q{} && $showmods ne q{} ) {
             $showmods .= q~ - ~;
         }
+		if (${$uid.$currentboard}{'brdpasswr'}){
+			my $cookiename = "$cookiepassword$currentboard$username";
+			my $crypass = ${$uid.$currentboard}{'brdpassw'};
+			if (!$staff && $yyCookies{$cookiename} ne $crypass) { BoardPassw(); }
+		}
     }
 
     # Thread Tools