fhem.pl: fix autoloading/Matchlist bug (Forum #42936)

git-svn-id: https://svn.fhem.de/fhem/trunk@9695 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-10-26 19:19:05 +00:00
parent 68682bcd4e
commit e471ce0bd0

View File

@@ -3262,6 +3262,7 @@ Dispatch($$$)
no strict "refs"; $readingsUpdateDelayTrigger = 1;
@found = &{$modules{$mname}{ParseFn}}($hash,$dmsg);
use strict "refs"; $readingsUpdateDelayTrigger = 0;
last if(defined($found[0]));
} else {
Log 0, "ERROR: Cannot autoload $mname";
}