return $_[0]->{sort} eq 'N';
}
+sub is_dslink
+{
+ return $_[0]->{sort} eq 'L';
+}
+
# for perl 5.004's benefit
sub sort
{
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};