From 67926677e5ad6b2e723c509184dde4c8b3394534 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Fri, 2 Nov 2018 15:22:24 +0100 Subject: [PATCH] UUUUGH --- mods/remind.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/remind.go b/mods/remind.go index d6bc6fd..456e19f 100644 --- a/mods/remind.go +++ b/mods/remind.go @@ -153,7 +153,7 @@ func scanMixedDelay(str string) (bool, time.Time, error) { num := 0 sep := ' ' for len(remaining) > 1 { - scanned, err := fmt.Sscanf(remaining, "%d%c", &num, &sep) + _, err := fmt.Sscanf(remaining, "%d%c", &num, &sep) if err != nil { return false, now, err } @@ -178,6 +178,7 @@ func scanMixedDelay(str string) (bool, time.Time, error) { } return true, now, nil */ + return false, now, nil } func parseDuration(date string) (time.Time, error) {