mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 16:19:11 +00:00
96_allowed: fix warning in Authorized (Forum #85073)
git-svn-id: https://svn.fhem.de/fhem/trunk@16290 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
57ee126a82
commit
eaf352d371
@ -85,7 +85,7 @@ allowed_Authorize($$$$)
|
||||
|
||||
if($type eq "devicename") {
|
||||
return 0 if(!$me->{allowedDevices});
|
||||
return if($me->{allowedDevices} =~ m/\b\Q$arg\E\b/);
|
||||
return 1 if($me->{allowedDevices} =~ m/\b\Q$arg\E\b/);
|
||||
Log3 $me, 3, "Forbidden device $arg for $cl->{NAME}";
|
||||
return 2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user