MAX: show active backend

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2308 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2012-12-09 15:04:06 +00:00
parent 4bd23c4c0e
commit a0a8d87ad6

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
$shash->{IODev} = $hash if($isToMe);
if($isToMe) {
$shash->{IODev} = $hash;
$shash->{backend} = $hash->{NAME}; #for user information
}
if($msgtype eq "define"){
my $devicetype = $args[0];