return on error

This commit is contained in:
Aaron Bieber 2021-04-17 19:10:41 -06:00
parent 27700eb920
commit 9e2c068f5f

2
irc.go
View File

@ -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