--- loncom/auth/lonracc.pm 2007/02/01 06:31:33 1.19 +++ loncom/auth/lonracc.pm 2007/02/01 07:13:04 1.20 @@ -1,7 +1,7 @@ # The LearningOnline Network # Access Handler for File Transfers # -# $Id: lonracc.pm,v 1.19 2007/02/01 06:31:33 albertel Exp $ +# $Id: lonracc.pm,v 1.20 2007/02/01 07:13:04 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,7 +37,7 @@ use IO::Socket; sub subscribed { my ($filename,$id) = @_; - return 0 if (-e "$filename.subscription"); + return 0 if (!-e "$filename.subscription"); my $hostname=$Apache::lonnet::hostname{$id}; my (undef,undef,undef,undef,$ip) = gethostbyname($hostname);