00_FBAHAHTTP.pm: fix syntax error (Forum #95913)

git-svn-id: https://svn.fhem.de/fhem/trunk@18401 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2019-01-24 14:07:26 +00:00
parent 87d4f15530
commit 4d2dad7763

View File

@@ -103,7 +103,8 @@ FBAHAHTTP_connect($$)
$hash->{".SID"} = $sid;
$hash->{STATE} = "connected";
Log3 $name, 4, "FBAHAHTTP_connect $name: got SID $sid";
FBAHAHTTP_ProcessStack($hash) if($doProcess && int(@{$hash->{CmdStack}}));
FBAHAHTTP_ProcessStack($hash)
if($doProcess && $hash->{CmdStack} && int(@{$hash->{CmdStack}}));
return undef;
}