mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
MiscCommands: Fix die
command
This commit is contained in:
parent
632c201e19
commit
924b359842
@ -126,7 +126,7 @@ sub cmd_die {
|
||||
$self->{pbot}->{logger}->log("$context->{hostmask} made me exit.\n");
|
||||
$self->{pbot}->{conn}->privmsg($context->{from}, "Good-bye.") if $context->{from} ne 'stdin@pbot';
|
||||
$self->{pbot}->{conn}->quit("Departure requested.") if defined $self->{pbot}->{conn};
|
||||
$self->pbot->atexit();
|
||||
$self->{pbot}->atexit();
|
||||
exit 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user