Bugfix for some FHEM2FHEM raw connections (bug found by Willi).
git-svn-id: https://svn.fhem.de/fhem/trunk@1292 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -606,7 +606,7 @@ CommandIOWrite($$)
|
||||
my ($cl, $param) = @_;
|
||||
my @a = split(" ", $param);
|
||||
|
||||
return "Usage: iowrite <iodev> <param> ..." if(int(@a) <= 2);
|
||||
return "Usage: iowrite <iodev> <param> ..." if(int(@a) < 2);
|
||||
|
||||
my $name = shift(@a);
|
||||
my $hash = $defs{$name};
|
||||
|
||||
Reference in New Issue
Block a user