mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +01:00
Use name
field for -info flag
This commit is contained in:
parent
38d109059a
commit
1122f7ede6
@ -390,7 +390,8 @@ sub process_standard_options {
|
||||
}
|
||||
$cmdline =~ s/\$sourcefile/$self->{sourcefile}/g;
|
||||
$cmdline =~ s/\$execfile/$self->{execfile}/g;
|
||||
print "$self->{nick}: $self->{lang} cmdline: $cmdline\n";
|
||||
my $name = exists $self->{name} ? $self->{name} : $self->{lang};
|
||||
print "$self->{nick}: $name cmdline: $cmdline\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user