From c0f4b72c981def406c03ae4f3000750f85926d97 Mon Sep 17 00:00:00 2001 From: dietmar63 Date: Thu, 7 Nov 2013 01:43:23 +0000 Subject: [PATCH] direct call of WOL_GetUpdate($hash) in WOL_Set() git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4168 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_WOL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_WOL.pm b/fhem/FHEM/98_WOL.pm index 1c76abeb4..d9b23580d 100644 --- a/fhem/FHEM/98_WOL.pm +++ b/fhem/FHEM/98_WOL.pm @@ -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; }