Bugfix for some FHEM2FHEM raw connections (bug found by Willi).

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1292 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-02-25 19:45:26 +00:00
parent faf77e89d9
commit fd2cae3f3e

View File

@ -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};