From 05223f11ce34111486dec3210bced6da8a7aea12 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Thu, 4 Jul 2019 17:53:00 +0200 Subject: [PATCH] add global scope --- 75_msgConfig.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/75_msgConfig.pm b/75_msgConfig.pm index de4ea4f..9d61314 100755 --- a/75_msgConfig.pm +++ b/75_msgConfig.pm @@ -171,6 +171,7 @@ sub msgConfig_Define($$) { # create global unique device definition $modules{$TYPE}{defptr} = $hash; + $hash->{SCOPE} = "global"; # set default settings on first define if ( $init_done && !defined( $hash->{OLDDEF} ) ) {