--- loncom/auth/lonlogin.pm 2003/08/26 19:48:41 1.44.2.2 +++ loncom/auth/lonlogin.pm 2003/08/25 15:24:43 1.46 @@ -1,7 +1,7 @@ # The LearningOnline Network # Login Screen # -# $Id: lonlogin.pm,v 1.44.2.2 2003/08/26 19:48:41 albertel Exp $ +# $Id: lonlogin.pm,v 1.46 2003/08/25 15:24:43 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -109,10 +109,11 @@ sub handler { # ---------------------------------------- Are we access server and overloaded? if (($role eq 'access') && (($userloadpercent>100.0)||($loadpercent>100.0))) { - my $unloaded=Apache::lonnet::spareserver($loadpercent,$userloadpercent); - if ($unloaded) { $otherserver=$unloaded; } + $otherserver=Apache::lonnet::spareserver($loadpercent,$userloadpercent); } +# ----------------------------------------------------------- Get announcements + my $announcements=&Apache::lonnet::getannounce(); # -------------------------------------------------------- Set login parameters my @hexstr=('0','1','2','3','4','5','6','7', @@ -312,7 +313,7 @@ ENDSERVERFORM -