2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

handle rereadcfg

git-svn-id: https://svn.fhem.de/fhem/trunk@4417 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2013-12-19 16:16:58 +00:00
parent 2a64f0136c
commit 7abe1f4f16

View File

@ -95,7 +95,9 @@ mailcheck_Notify($$)
{
my ($hash,$dev) = @_;
if( grep(m/^INITIALIZED$/, @{$dev->{CHANGED}}) ) {
return if($dev->{NAME} ne "global");
return if(!grep(m/^INITIALIZED|REREADCFG$/, @{$dev->{CHANGED}}));
delete $modules{mailcheck}->{NotifyFn};
foreach my $d (keys %defs) {
@ -103,7 +105,6 @@ mailcheck_Notify($$)
mailcheck_Connect($defs{$d});
}
}
}
sub
mailcheck_Connect($)