projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
belt and braces locate users.v4 in DXUser.pm
[spider.git]
/
cmd
/
set
/
debug.pl
diff --git
a/cmd/set/debug.pl
b/cmd/set/debug.pl
index e5c4658b12bec6d237fa836367c442afcae772a8..0cf4966234108b557a4af3142c66d595c701ea2e 100644
(file)
--- a/
cmd/set/debug.pl
+++ b/
cmd/set/debug.pl
@@
-1,15
+1,13
@@
#
# add a debug level
#
-#
$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");