]> scm.dxcluster.org Git - spider.git/commitdiff
iand another warning
authorDirk Koopman <djk@tobit.co.uk>
Wed, 5 Jan 2022 23:39:33 +0000 (23:39 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Wed, 5 Jan 2022 23:39:33 +0000 (23:39 +0000)
perl/DXCommandmode.pm

index 506eea597e12e1fee6e362e7d51c78efceacc1c1..fda298b13e54ddf8e8fe3c333e47b2cc6550ce5c 100644 (file)
@@ -157,7 +157,7 @@ sub start
        # establish slug queue, if required
        $self->{sluggedpcs} = [];
        $self->{isslugged} = $DXProt::pc92_slug_changes + $DXProt::last_pc92_slug + 5 if $DXProt::pc92_slug_changes;
-       $self->{isslugged} = 0 if $self->{priv} > 0 || $user->registered || $user->homenode eq $main::mycall;
+       $self->{isslugged} = 0 if $self->{priv} || $user->registered || $user->homenode eq $main::mycall;
 
        # send the relevant MOTD
        $self->send_motd;