2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 20:52:13 +00:00

00_HMUARTLGW.pm: fix string comparison

git-svn-id: https://svn.fhem.de/fhem/trunk@12185 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgernoth 2016-09-20 13:57:00 +00:00
parent a9f02946d7
commit 712991462c

View File

@ -1011,7 +1011,7 @@ sub HMUARTLGW_GetSetParameters($;$$)
$hash->{Helper}{UpdatePeer}{aes} = substr($msg, 12);
}
} else {
if ($hash->{Helper}{UpdatePeer}{operation} == "+") {
if ($hash->{Helper}{UpdatePeer}{operation} eq "+") {
Log3($hash, 1, "Adding peer $hash->{Helper}{UpdatePeer}{id} failed! " .
"You have probably forced an unknown aesKey for this device.");
} else {