mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.pl: Fix DEFINED Events (Forum #100477)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19381 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
075392e5c1
commit
d30698f741
2
fhem.pl
2
fhem.pl
@ -2083,7 +2083,7 @@ CommandDefine($$)
|
|||||||
$modules{$m}{NotifyOrderPrefix} : "50-") . $name;
|
$modules{$m}{NotifyOrderPrefix} : "50-") . $name;
|
||||||
}
|
}
|
||||||
%ntfyHash = ();
|
%ntfyHash = ();
|
||||||
if(!$temporary && !$init_done) {
|
if(!$temporary && $init_done) {
|
||||||
addStructChange("define", $name, $def);
|
addStructChange("define", $name, $def);
|
||||||
DoTrigger("global", "DEFINED $name", 1);
|
DoTrigger("global", "DEFINED $name", 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user