2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

direct call of WOL_GetUpdate($hash) in WOL_Set()

git-svn-id: https://svn.fhem.de/fhem/trunk@4168 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dietmar63 2013-11-07 01:43:23 +00:00
parent f584813c77
commit 6ddba6b809

View File

@ -66,7 +66,7 @@ sub WOL_Set($@)
InternalTimer(gettimeofday()+5, "WOL_UpdateReadings", $hash, 0);
if ($hash->{STATE} eq "on") {
InternalTimer(gettimeofday(), "WOL_GetUpdate", $hash, 0);
WOL_GetUpdate($hash);
}
return undef;
}