mirror of
https://github.com/mumble-voip/grumble.git
synced 2025-12-19 21:59:59 -08:00
Make error strings lower case and without punctuation, to be consistent with Golang coding standards
This commit is contained in:
parent
99d5ad7857
commit
74040ab0af
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue