From: Dirk Koopman Date: Sat, 14 Nov 2009 11:38:43 +0000 (+0000) Subject: fix ssid handling on (un)set/badnode.pl X-Git-Tag: 1.56~46 X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=6ba06f6627a07863cac75ecd7a43e72d91402f1f fix ssid handling on (un)set/badnode.pl --- diff --git a/cmd/set/badnode.pl b/cmd/set/badnode.pl index b123ef96..6ac5b398 100644 --- a/cmd/set/badnode.pl +++ b/cmd/set/badnode.pl @@ -9,6 +9,6 @@ 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)); +#$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); return $DXProt::badnode->set(8, $self->msg('e12'), $self, $line); diff --git a/cmd/unset/badnode.pl b/cmd/unset/badnode.pl index cd44a0aa..c104be27 100644 --- a/cmd/unset/badnode.pl +++ b/cmd/unset/badnode.pl @@ -9,6 +9,6 @@ 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)); +#$line = join(' ', map {s|[/-]\d+$||; $_} split(/\s+/, $line)); return $DXProt::badnode->unset(8, $self->msg('e12'), $self, $line);