projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ipv6 crash in Msg.pm
[spider.git]
/
cmd
/
unset
/
baddx.pl
diff --git
a/cmd/unset/baddx.pl
b/cmd/unset/baddx.pl
index e9798728a28f573d0f6a670ad99884f4a68c4e96..84d4d5fec949258b4708ef38bbd5fcaa284ef50e 100644
(file)
--- a/
cmd/unset/baddx.pl
+++ b/
cmd/unset/baddx.pl
@@
-3,8
+3,12
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
+return (1, $self->msg('e5')) if $self->remotecmd;
+# are we permitted?
+return (1, $self->msg('e5')) if $self->priv < 6;
+$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line));
return $DXProt::baddx->unset(8, $self->msg('e6'), $self, $line);
return $DXProt::baddx->unset(8, $self->msg('e6'), $self, $line);