From 361c4880d4f34444c49575fa01f0a257fe14a2e3 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Mon, 22 Sep 2008 09:06:30 +1200 Subject: [PATCH] Switch delay_add to delay. --- lib/Display/Plugins/MPD.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Display/Plugins/MPD.pm b/lib/Display/Plugins/MPD.pm index 46d5b51..be47da1 100644 --- a/lib/Display/Plugins/MPD.pm +++ b/lib/Display/Plugins/MPD.pm @@ -52,7 +52,7 @@ warn "Got a response from MPD\n"; $self->{'KERNEL'}->delay( hide_display, 30 ); } - $self->{'KERNEL'}->delay_add( mpd, 5, current ); + $self->{'KERNEL'}->delay( mpd, 5, current ); } sub hide_display { @@ -73,7 +73,7 @@ sub error { warn "MPD: Error $errstr\n"; - $kernel->delay_add( mpd, 5, current ); + $kernel->delay( mpd, 5, current ); } sub init { -- 2.30.2