diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 12c17122e..a1cc3b544 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -1964,7 +1964,7 @@ CommandReload($$) $modules{$m}{ORDER} = $order; $modules{$m}{LOADED} = 1; $modules{$m}{defptr} = $defptr if($defptr); - $modules{$m}{ldata} = $defptr if($ldata); + $modules{$m}{ldata} = $ldata if($ldata); return undef; }