forked from External/ergo
review fixes
This commit is contained in:
parent
f10ed05f86
commit
38b228af6a
4 changed files with 67 additions and 40 deletions
|
|
@ -5,7 +5,10 @@
|
|||
|
||||
package irc
|
||||
|
||||
import "errors"
|
||||
import (
|
||||
"errors"
|
||||
"github.com/oragono/oragono/irc/utils"
|
||||
)
|
||||
|
||||
// Runtime Errors
|
||||
var (
|
||||
|
|
@ -40,7 +43,7 @@ var (
|
|||
errInvalidUsername = errors.New("Invalid username")
|
||||
errFeatureDisabled = errors.New(`That feature is disabled`)
|
||||
errBanned = errors.New("IP or nickmask banned")
|
||||
errInvalidParams = errors.New("Invalid parameters")
|
||||
errInvalidParams = utils.ErrInvalidParams
|
||||
)
|
||||
|
||||
// Socket Errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue