remove unnecessary String()s; rename parse functions

This commit is contained in:
Jeremy Latt
2014-03-28 13:47:49 -07:00
parent 21a86c3216
commit b0bb0faadc
6 changed files with 93 additions and 185 deletions
+1 -3
View File
@@ -77,9 +77,7 @@ func (client *Client) run() {
}
func (client *Client) connectionTimeout() {
client.commands <- &QuitCommand{
message: "connection timeout",
}
client.commands <- NewQuitCommand("connection timeout")
}
//