From 9e2c068f5fd259e83caa6d4d17f4863a9bab8d32 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sat, 17 Apr 2021 19:10:41 -0600 Subject: [PATCH] return on error --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.go b/irc.go index 39cea77..07ad30a 100644 --- a/irc.go +++ b/irc.go @@ -90,7 +90,7 @@ func ircConnect(store *FStore, plugins *plugins.Plugins) error { client := irc.NewClient(conn, config) err = client.Run() if err != nil { - log.Fatalln(err) + return err } } return nil