diff --git a/main.go b/main.go index 75156a9..c1ae58b 100644 --- a/main.go +++ b/main.go @@ -106,7 +106,8 @@ func main() { if *history { fmt.Printf("Retrieving chat.\n") - go getHistory(client) + getHistory(client) + return 0 } fmt.Println("Started !")