From: Andrew Ruthven Date: Sun, 21 Sep 2008 21:06:30 +0000 (+1200) Subject: Switch delay_add to delay. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=361c4880d4f34444c49575fa01f0a257fe14a2e3;p=picture-display.git Switch delay_add to delay. --- 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 {