projects
/
spider.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix pedantic 'uninitialised' warning in VE7CC.pm
[spider.git]
/
cmd
/
shutdown.pl
1
#
2
# the shutdown command
3
#
4
#
5
#
6
my $self = shift;
7
my $call = $self->call;
8
my $ref;
9
return (1, $self->msg('e5')) unless $self->priv >= 5;
10
foreach $ref (DXChannel::get_all()) {
11
$ref->send($self->msg('shutting')) if $ref->is_user;
12
}
13
14
$main::ending = 10;
15
16
return (1);