[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 11 Jan 2005 21:43:34 -0000


albertel		Tue Jan 11 16:43:34 2005 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - it's actaully rolesdef_ not & (huh been there since 24-Jul-00...)
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.585 loncom/lonnet/perl/lonnet.pm:1.586
--- loncom/lonnet/perl/lonnet.pm:1.585	Mon Jan 10 14:12:55 2005
+++ loncom/lonnet/perl/lonnet.pm	Tue Jan 11 16:43:33 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.585 2005/01/10 19:12:55 albertel Exp $
+# $Id: lonnet.pm,v 1.586 2005/01/11 21:43:33 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2376,7 +2376,7 @@
     my $now=time;
     if ($rolesdump ne '') {
         foreach (split(/&/,$rolesdump)) {
-	    if ($_!~/^rolesdef\&/) {
+	    if ($_!~/^rolesdef_/) {
 		my ($area,$role)=split(/=/,$_);
 		$area=~s/\_\w\w$//;
 		my ($trole,$tend,$tstart)=split(/_/,$role);
@@ -2408,7 +2408,7 @@
 
     if ($rolesdump ne '') {
         foreach (split(/&/,$rolesdump)) {
-	  if ($_!~/^rolesdef\&/) {
+	  if ($_!~/^rolesdef_/) {
             my ($area,$role)=split(/=/,$_);
             $area=~s/\_\w\w$//;
             my ($trole,$tend,$tstart)=split(/_/,$role);