X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/5abe8188abba8d1d5931b84d36d719c7ef3aee36..e11a218226af3dc5a861924bf3be09e377767025:/modules/Tool.pm?ds=inline diff --git a/modules/Tool.pm b/modules/Tool.pm index 95b64dd..e810c8b 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -287,8 +287,6 @@ sub in_array($$) return 1 if($string eq $element); } - #foreach - return; } @@ -308,7 +306,7 @@ sub is_disabled_command($$) foreach my $entry(@$list) { - return 1 if(uc($command) eq uc($entry)); + return 1 if(lc($command) eq lc($entry)); } return;