remove $Id$ strings from everywhere that I can find
[spider.git] / cmd / set / dxnet.pl
index 28c497cc9346cf615e3097e96e26eb177bb2fbc8..2d184adb16a9763a3e3d0cc607e80475270b8c82 100644 (file)
@@ -5,7 +5,7 @@
 #
 # Copyright (c) 1998 - Dirk Koopman
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -19,7 +19,7 @@ return (1, $self->msg('e5')) if $self->priv < 5;
 
 foreach $call (@args) {
        $call = uc $call;
-       my $chan = DXChannel->get($call);
+       my $chan = DXChannel::get($call);
        if ($chan) {
                push @out, $self->msg('nodee1', $call);
        } else {
@@ -29,6 +29,7 @@ foreach $call (@args) {
                if ($user) {
                        $user->sort('X');
                        $user->homenode($call);
+                       $user->lockout(0);
                        $user->priv(1) unless $user->priv;
                        $user->close();
                        push @out, $self->msg($create ? 'nodexc' : 'nodex', $call);