2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

MAX: show active backend

git-svn-id: https://svn.fhem.de/fhem/trunk@2308 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2012-12-09 15:04:06 +00:00
parent 4a98585101
commit c9b7e353bf

View File

@ -329,7 +329,10 @@ MAX_Parse($$)
} }
#if $isToMe is true, then the message was directed at device $hash, thus we can also use it for sending #if $isToMe is true, then the message was directed at device $hash, thus we can also use it for sending
$shash->{IODev} = $hash if($isToMe); if($isToMe) {
$shash->{IODev} = $hash;
$shash->{backend} = $hash->{NAME}; #for user information
}
if($msgtype eq "define"){ if($msgtype eq "define"){
my $devicetype = $args[0]; my $devicetype = $args[0];