mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: fix warning (Forum #81509)
git-svn-id: https://svn.fhem.de/fhem/trunk@15688 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5bc17cfbe1
commit
f0a67df5a5
@ -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};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user