[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 17 Sep 2002 19:48:40 -0000


matthew		Tue Sep 17 15:48:40 2002 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  Guy is so picky.....
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.22 loncom/auth/lonlogin.pm:1.23
--- loncom/auth/lonlogin.pm:1.22	Tue Sep 17 15:45:11 2002
+++ loncom/auth/lonlogin.pm	Tue Sep 17 15:48:40 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.22 2002/09/17 19:45:11 matthew Exp $
+# $Id: lonlogin.pm,v 1.23 2002/09/17 19:48:40 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -77,7 +77,7 @@
     my $otherserver='http://'.$ENV{'SERVER_NAME'};
     my $firsturl=$ENV{'request.firsturl'};
 # ---------------------------------------- Are we access server and overloaded?
-    if (($loadpercent>100.0)) {
+    if (($role eq 'access') or ($loadpercent>100.0)) {
         $otherserver=Apache::lonnet::spareserver($loadpercent);
     }