mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 07:24:09 +01:00
Ignore backup~ files when showing supported languages
This commit is contained in:
parent
ae957c0314
commit
8999e22db1
@ -19,7 +19,7 @@ eval {
|
||||
print "Supported languages are: ";
|
||||
foreach my $lang (sort @languages) {
|
||||
$lang = basename($lang);
|
||||
next if $lang =~ m/^_/;
|
||||
next if $lang =~ m/^_|~$/g;
|
||||
$lang =~ s/\.pm$//;
|
||||
print "$comma$lang";
|
||||
$comma = ', ';
|
||||
|
Loading…
Reference in New Issue
Block a user