2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2024-11-22 02:59:49 +00:00

fhem.pl: fix for Dispatch after [NEXT] patch (Forum #95446)

git-svn-id: https://svn.fhem.de/fhem/trunk@18393 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-01-23 21:42:13 +00:00
parent ff2536df16
commit 871775ba65
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ for(;;) {
push @msg, $stars.$cmd;
} elsif($cmd eq "?") {
push @msg, $stars."? (? is unknown) Use one of t u x";
push @msg, $stars."? (? is unknown) Use one of A B b C E e F f G h i K l M m N R T t U u V W X x Y Z";
} elsif($cmd eq "t") {
push @msg, $stars.sprintf("%08X", (time()%86400)*125);

View File

@ -3880,7 +3880,7 @@ Dispatch($$;$$)
my @tfound = &{$modules{$m}{ParseFn}}($hash,$dmsg);
use strict "refs"; $readingsUpdateDelayTrigger = 0;
$parserMod = $m;
if(@tfound && $tfound[0]) {
if(int(@tfound) && defined($tfound[0])) {
if($tfound[0] && $tfound[0] eq "[NEXT]") { # not a goodDeviceName, #95446
shift(@tfound);
push @found, @tfound; # continue feeding other modules