--- loncom/auth/lonracc.pm 2007/02/01 07:13:04 1.20 +++ loncom/auth/lonracc.pm 2007/03/02 23:17:48 1.21 @@ -1,7 +1,7 @@ # The LearningOnline Network # Access Handler for File Transfers # -# $Id: lonracc.pm,v 1.20 2007/02/01 07:13:04 albertel Exp $ +# $Id: lonracc.pm,v 1.21 2007/03/02 23:17:48 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -39,7 +39,7 @@ sub subscribed { return 0 if (!-e "$filename.subscription"); - my $hostname=$Apache::lonnet::hostname{$id}; + my $hostname=&Apache::lonnet::hostname($id); my (undef,undef,undef,undef,$ip) = gethostbyname($hostname); return 0 if (length($ip) != 4);