--- loncom/lonnet/perl/lonnet.pm 2005/01/10 19:12:55 1.585 +++ loncom/lonnet/perl/lonnet.pm 2005/01/11 21:43:33 1.586 @@ -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 @@ sub privileged { 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 @@ sub rolesinit { if ($rolesdump ne '') { foreach (split(/&/,$rolesdump)) { - if ($_!~/^rolesdef\&/) { + if ($_!~/^rolesdef_/) { my ($area,$role)=split(/=/,$_); $area=~s/\_\w\w$//; my ($trole,$tend,$tstart)=split(/_/,$role);