From 3bd06be2bca4ace37d577647782bb55f11af2a3c Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@gmail.com>
Date: Fri, 9 Nov 2012 15:56:16 +0100
Subject: [PATCH] =?UTF-8?q?Le=20temps=20par=20d=C3=A9faut=20pour=20!later?=
 =?UTF-8?q?=20est=206h?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 PlayBot.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PlayBot.pl b/PlayBot.pl
index ea6624d..a69c591 100755
--- a/PlayBot.pl
+++ b/PlayBot.pl
@@ -261,6 +261,7 @@ sub on_speak
 	elsif ($msg =~ /^!later( ([0-9]*)( in ([0-9]*)(h|m)?)?)?/) {
 		my ($id, $time, $unit) = ($2, $4, $5);
 
+		$time = 6 if (!$time);
 		$time *= ($unit eq 'm') ? 60 : 3600;
 		$kernel->delay_set('_later', $time, $nick, $id);
 
-- 
GitLab