2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

96_allowed.pm: change the event content a little (Forum #108420)

git-svn-id: https://svn.fhem.de/fhem/trunk@21197 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-02-14 14:32:04 +00:00
parent ebcabda39a
commit 9f0aee41ed

View File

@ -134,7 +134,7 @@ allowed_Authenticate($$$$)
$cl->{AuthenticatedBy} = $aName if($r == 1);
$cl->{AuthenticationDeniedBy} = $aName if($r == 2 && $a);
if($me->{doReport} && $cl->{PEER}) {
my $peer = "$cl->{TYPE}:$cl->{PEER}:$cl->{PORT}";
my $peer = "$cl->{SNAME}:$cl->{PEER}:$cl->{PORT}";
DoTrigger($aName, "accepting connection from $peer")
if($r != 2 && $me->{doReport} & 1);
DoTrigger($aName, "denying connection from $peer")