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

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

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