Fix slots around the time
[spider.git] / perl / DXChannel.pm
index 9d6b33a16743a213d26d7e4e503af48b3263aaa9..a0bc6ab9d9e7c3e1400709e9473037e745fd890e 100644 (file)
@@ -770,7 +770,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};