2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

fhem.pl: Fix DEFINED Events (Forum #100477)

git-svn-id: https://svn.fhem.de/fhem/trunk@19381 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-05-13 09:52:58 +00:00
parent ed0d952fa9
commit 76549a53c7

View File

@ -2083,7 +2083,7 @@ CommandDefine($$)
$modules{$m}{NotifyOrderPrefix} : "50-") . $name;
}
%ntfyHash = ();
if(!$temporary && !$init_done) {
if(!$temporary && $init_done) {
addStructChange("define", $name, $def);
DoTrigger("global", "DEFINED $name", 1);
}