From aaf1dccd2ace6ee10d581e60b224527e325f89bb Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Mon, 25 Dec 2017 16:48:11 +0000 Subject: [PATCH] fhem.pl: fix warning (Forum #81509) git-svn-id: https://svn.fhem.de/fhem/trunk@15688 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 6c29de333..1a84af0f2 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -5380,7 +5380,7 @@ SecurityCheck() unshift(@fnd, "SecurityCheck:"); push(@fnd, "You can disable this message with attr global motd none"); $attr{global}{motd} = join("\n", @fnd); - } elsif($attr{global}{motd} =~ m/^SecurityCheck/) { + } elsif(AttrVal('global','motd','') =~ m/^SecurityCheck/) { delete $attr{global}{motd}; } }