gofmt run.

This commit is contained in:
Alex Bramley 2013-03-10 13:31:04 +00:00
parent ac9d05efa2
commit 31606b7f2f
2 changed files with 2 additions and 2 deletions

View File

@ -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] != "" {

View File

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