mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Move all errors into errors.go
This commit is contained in:
parent
3ef4c5f799
commit
2419f69879
17 changed files with 100 additions and 100 deletions
|
|
@ -4,7 +4,6 @@
|
|||
package irc
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net"
|
||||
"sync"
|
||||
|
|
@ -19,10 +18,6 @@ const (
|
|||
keyDlineEntry = "bans.dline %s"
|
||||
)
|
||||
|
||||
var (
|
||||
errNoExistingBan = errors.New("Ban does not exist")
|
||||
)
|
||||
|
||||
// IPRestrictTime contains the expiration info about the given IP.
|
||||
type IPRestrictTime struct {
|
||||
// Duration is how long this block lasts for.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue