minor bug

git-svn-id: https://svn.fhem.de/fhem/trunk@6568 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-09-18 17:47:42 +00:00
parent 3567d01312
commit c8f792f2c3

View File

@@ -1208,6 +1208,7 @@ sub HMinfo_SetFn($@) {#########################################################
$cmd = "?" if(!$cmd);# by default print options
if ($cmd eq "clear" ) {##actionImmediate: clear parameter--------------
my ($type) = @a;
return "please enter what to clear" if (! $type);
if ($type eq "msgStat" || $type eq "all" ){
foreach (keys %{$modules{CUL_HM}{stat}{r}}){
next if ($_ ne "dummy");