projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
unset
/
startup.pl
diff --git
a/cmd/unset/startup.pl
b/cmd/unset/startup.pl
index 36ee830d4844b726a8da3952fd9ea14e8c2d9093..a08601c424a5b3444fda2e6f6fe89a55aca4cd9e 100644
(file)
--- a/
cmd/unset/startup.pl
+++ b/
cmd/unset/startup.pl
@@
-3,14
+3,10
@@
#
# Copyright (c) 2005 Dirk Koopman G1TLH
#
#
# Copyright (c) 2005 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
-return (1, $self->msg('e5')) if $self->remotecmd;
+return (1, $self->msg('e5')) if $self->remotecmd
|| $self->inscript
;
return (1, $self->msg('e5')) if $line && $self->priv < 5;
return (1, $self->msg('e5')) if $line && $self->priv < 5;
-my @out;
-
-Script::erase($line || $self->call);
-push @out, $self->msg('done');
-return (1, @out);
+return (1, Script::erase($self));