forked from External/ergo
fix #1027
This commit is contained in:
parent
b5afa91e3e
commit
32ee9440c8
8 changed files with 45 additions and 177 deletions
|
|
@ -320,7 +320,6 @@ const (
|
|||
// else be fixed up by a schema change)
|
||||
NickEnforcementOptional NickEnforcementMethod = iota
|
||||
NickEnforcementNone
|
||||
NickEnforcementWithTimeout
|
||||
NickEnforcementStrict
|
||||
)
|
||||
|
||||
|
|
@ -330,8 +329,6 @@ func nickReservationToString(method NickEnforcementMethod) string {
|
|||
return "default"
|
||||
case NickEnforcementNone:
|
||||
return "none"
|
||||
case NickEnforcementWithTimeout:
|
||||
return "timeout"
|
||||
case NickEnforcementStrict:
|
||||
return "strict"
|
||||
default:
|
||||
|
|
@ -347,8 +344,6 @@ func nickReservationFromString(method string) (NickEnforcementMethod, error) {
|
|||
return NickEnforcementOptional, nil
|
||||
case "none":
|
||||
return NickEnforcementNone, nil
|
||||
case "timeout":
|
||||
return NickEnforcementWithTimeout, nil
|
||||
case "strict":
|
||||
return NickEnforcementStrict, nil
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue