diff --git a/irc/connection.go b/irc/connection.go index 0990b6f..1e67081 100644 --- a/irc/connection.go +++ b/irc/connection.go @@ -113,7 +113,9 @@ func (conn *Conn) Connect(host string, pass string) os.Error { } // dispatch a nicely formatted os.Error to the error channel -func (conn *Conn) error(s string, a ...interface{}) { conn.Err <- os.NewError(fmt.Sprintf(s, a)) } +func (conn *Conn) error(s string, a ...interface{}) { + conn.Err <- os.NewError(fmt.Sprintf(s, a...)) +} // copied from http.client for great justice func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }