From 71ecb8c102efde93e826aea0a6c8f5cc9402e913 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 25 Feb 2012 19:45:26 +0000 Subject: [PATCH] Bugfix for some FHEM2FHEM raw connections (bug found by Willi). git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1292 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index d767c3cf6..a68cd339c 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -606,7 +606,7 @@ CommandIOWrite($$) my ($cl, $param) = @_; my @a = split(" ", $param); - return "Usage: iowrite ..." if(int(@a) <= 2); + return "Usage: iowrite ..." if(int(@a) < 2); my $name = shift(@a); my $hash = $defs{$name};