2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

FHEMWEB: call FW_visibleDevices only if needed

git-svn-id: https://svn.fhem.de/fhem/trunk@5777 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-05-07 13:49:28 +00:00
parent 9dd23b5481
commit de31655f1f

View File

@ -230,7 +230,7 @@ FW_Undef($$)
{ {
my ($hash, $arg) = @_; my ($hash, $arg) = @_;
my $ret = TcpServer_Close($hash); my $ret = TcpServer_Close($hash);
%FW_visibleDeviceHash = FW_visibleDevices(); %FW_visibleDeviceHash = FW_visibleDevices() if($hash->{inform});
return $ret; return $ret;
} }