X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fdebug.pl;h=f88434e2f1fd7783512f18168d1b93cade5f2bc0;hb=07ea293f3919d2da76220b5fbc55b734008ed44c;hp=e5c4658b12bec6d237fa836367c442afcae772a8;hpb=b2e4d1c7378cfd98bd8cdf9304c2bd6e5d4b802c;p=spider.git diff --git a/cmd/set/debug.pl b/cmd/set/debug.pl index e5c4658b..f88434e2 100644 --- a/cmd/set/debug.pl +++ b/cmd/set/debug.pl @@ -4,12 +4,10 @@ # $Id$ # -use DXDebug; - -$self = shift; +my ($self, $line) = @_; return (0) if $self->priv < 9; -dbgadd(split); +dbgadd(split /\s+/, $line); my $set = join ' ', dbglist(); return (1, "Debug Levels now: $set");