diff --git a/cmd/grumble/murmurdb.go b/cmd/grumble/murmurdb.go index dee16aa..2a680b2 100644 --- a/cmd/grumble/murmurdb.go +++ b/cmd/grumble/murmurdb.go @@ -387,12 +387,12 @@ func populateChannelLinkInfo(server *Server, db *sql.DB) (err error) { channel, exists := server.Channels[ChannelID] if !exists { - return errors.New("Attempt to perform link operation on non-existant channel.") + return errors.New("attempt to perform link operation on non-existant channel") } other, exists := server.Channels[LinkID] if !exists { - return errors.New("Attempt to perform link operation on non-existant channel.") + return errors.New("attempt to perform link operation on non-existant channel") } server.LinkChannels(channel, other) diff --git a/cmd/grumble/server.go b/cmd/grumble/server.go index 762b976..ac96503 100644 --- a/cmd/grumble/server.go +++ b/cmd/grumble/server.go @@ -252,7 +252,7 @@ func (server *Server) handleIncomingClient(conn net.Conn) (err error) { client := new(Client) addr := conn.RemoteAddr() if addr == nil { - err = errors.New("Unable to extract address for client.") + err = errors.New("unable to extract address for client") return }