mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
initialization fix for multiple mailcheck devices
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3929 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
961e35971b
commit
739ba1eb95
@ -84,7 +84,10 @@ mailcheck_Notify($$)
|
||||
if( grep(m/^INITIALIZED$/, @{$dev->{CHANGED}}) ) {
|
||||
delete $modules{mailcheck}->{NotifyFn};
|
||||
|
||||
mailcheck_Connect($hash);
|
||||
foreach my $d (keys %defs) {
|
||||
next if($defs{$d}{TYPE} ne "mailcheck");
|
||||
mailcheck_Connect($defs{$d});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user