From 31606b7f2f03567d1b1777545c39f0888a8d3016 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Sun, 10 Mar 2013 13:31:04 +0000 Subject: [PATCH] gofmt run. --- client/connection.go | 2 +- client/dispatch.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/connection.go b/client/connection.go index 88f992e..578f15b 100644 --- a/client/connection.go +++ b/client/connection.go @@ -78,7 +78,7 @@ func NewConfig(nick string, args ...string) *Config { Me: state.NewNick(nick), PingFreq: 3 * time.Minute, NewNick: func(s string) string { return s + "_" }, - Recover: (*Conn).LogPanic, // in dispatch.go + Recover: (*Conn).LogPanic, // in dispatch.go } cfg.Me.Ident = "goirc" if len(args) > 0 && args[0] != "" { diff --git a/client/dispatch.go b/client/dispatch.go index 0c7ae89..4528503 100644 --- a/client/dispatch.go +++ b/client/dispatch.go @@ -148,5 +148,5 @@ func (conn *Conn) LogPanic(line *Line) { if err := recover(); err != nil { _, f, l, _ := runtime.Caller(2) logging.Error("%s:%d: panic: %v", f, l, err) - } + } }