2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

fixed deprecated warning

git-svn-id: https://svn.fhem.de/fhem/trunk@3192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2013-05-18 10:03:06 +00:00
parent 66db096b60
commit 0749c37b2f

View File

@ -166,7 +166,7 @@ LightScene_Set($@)
} elsif( $cmd eq "set" ) {
my ($d, @args) = @a;
if( !defined( $scene ) || !defined( $d ) || !defined( @args ) ) { return "Usage: set $name set <scene_name> <device> <cmd>" };
if( !defined( $scene ) || !defined( $d ) || !@args ) { return "Usage: set $name set <scene_name> <device> <cmd>" };
if( defined($hash->{SCENES}{$scene})
&& defined($hash->{SCENES}{$scene}{$d}) )