From d30698f7412587674403d185f6c25af43409c889 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 13 May 2019 09:52:58 +0000 Subject: [PATCH] fhem.pl: Fix DEFINED Events (Forum #100477) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@19381 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem.pl b/fhem.pl index 3810b24b2..8fe505093 100755 --- a/fhem.pl +++ b/fhem.pl @@ -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); }