10_ZWave.pm: adjust the automatic shortening of config options

git-svn-id: https://svn.fhem.de/fhem/trunk@6773 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-16 21:08:10 +00:00
parent ba5de85bfd
commit c03160c7ea

View File

@@ -684,7 +684,6 @@ sub
ZWave_cleanString($$)
{
my ($c, $postfix) = @_;
$c =~ s/[.,].*$//g;
$c =~ s/[^A-Z]+(.)/uc($1)/gei;
$c =~ s/[^A-Z]//i;
my $shortened=0;