X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fnewprotocol.pl;fp=cmd%2Fset%2Fnewprotocol.pl;h=0000000000000000000000000000000000000000;hb=4937d077fd03279aae2cbba6f1252ffdb04cc7a5;hp=ae2054a279cecd1bfe4405fe13cadfd95a386696;hpb=817ce3f71cc80d27ceaca7706800ce1ac7e94b51;p=spider.git diff --git a/cmd/set/newprotocol.pl b/cmd/set/newprotocol.pl deleted file mode 100644 index ae2054a2..00000000 --- a/cmd/set/newprotocol.pl +++ /dev/null @@ -1,27 +0,0 @@ -# -# set 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(1); - $user->put; - push @out, $self->msg('set', 'New Protocol', $call); - } else { - push @out, $self->msg('e3', "Set New Protocol", $call); - } -} -return (1, @out);