X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=c2358c3dd2366f56e1d7018c23fde7d474bb288d;hb=e2978821d42b1fc4afb1106dcdbcc5af13edb635;hp=9d6b33a16743a213d26d7e4e503af48b3263aaa9;hpb=d4ba5e72693bb889ddbdf3b6bec688361f5273f9;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index 9d6b33a1..c2358c3d 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -360,6 +360,11 @@ sub is_rbn return $_[0]->{sort} eq 'N'; } +sub is_dslink +{ + return $_[0]->{sort} eq 'L'; +} + # for perl 5.004's benefit sub sort { @@ -770,7 +775,7 @@ sub isregistered my $self = shift; # the sysop is registered! - return 1 if $self->call eq $main::myalias || $self->call eq $main::mycall; + return 1 if $self->{call} eq $main::myalias || $self->{call} eq $main::mycall; if ($main::reqreg) { return $self->{registered};