X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Funset%2Fnewprotocol.pl;fp=cmd%2Funset%2Fnewprotocol.pl;h=0000000000000000000000000000000000000000;hb=4937d077fd03279aae2cbba6f1252ffdb04cc7a5;hp=e14c2df066ee437bda43e10ae64a29ce63f1393c;hpb=817ce3f71cc80d27ceaca7706800ce1ac7e94b51;p=spider.git diff --git a/cmd/unset/newprotocol.pl b/cmd/unset/newprotocol.pl deleted file mode 100644 index e14c2df0..00000000 --- a/cmd/unset/newprotocol.pl +++ /dev/null @@ -1,27 +0,0 @@ -# -# unset the new protocol flag -# -# Copyright (c) 1998 - Dirk Koopman -# -# $Id$ -# - -my ($self, $line) = @_; -my @args = split /\s+/, $line; -my $call; -my @out; - -@args = $self->call if (!@args || $self->priv < 9); - -foreach $call (@args) { - $call = uc $call; - my $user = DXUser->get_current($call); - if ($user) { - $user->wantnp(0); - $user->put; - push @out, $self->msg('unset', 'New Protocol', $call); - } else { - push @out, $self->msg('e3', "Unset New Protocol", $call); - } -} -return (1, @out);