projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add b to Aliases so 'b' means 'bye' and not blank
[spider.git]
/
cmd
/
shutdown.pl
diff --git
a/cmd/shutdown.pl
b/cmd/shutdown.pl
index 4ee21ebade351aae062ff0b6029a6727d1f2a589..1a5a5663ec2d426773ce47ed713e060a687056d9 100644
(file)
--- a/
cmd/shutdown.pl
+++ b/
cmd/shutdown.pl
@@
-8,12
+8,10
@@
my $call = $self->call;
my $ref;
return (1, $self->msg('e5')) unless $self->priv >= 5;
foreach $ref (DXChannel::get_all()) {
my $ref;
return (1, $self->msg('e5')) unless $self->priv >= 5;
foreach $ref (DXChannel::get_all()) {
- $ref->send_now("D", DXProt::pc39($main::mycall, "Shutdown by $call")) if $ref->is_node && $ref != $DXProt::me;
- $ref->send_now("D", $self->msg('shutting')) if $ref->is_user;
+ $ref->send($self->msg('shutting')) if $ref->is_user;
}
# give some time for the buffers to empty and then shutdown (see cluster.pl)
}
# give some time for the buffers to empty and then shutdown (see cluster.pl)
-$main::decease = 250;
-
+$main::decease = 25;
return (1);
return (1);