Drop casemapMap.OriginalKey
It's unused.
This commit is contained in:
parent
22b235602b
commit
4e40b498b1
8
irc.go
8
irc.go
@ -320,14 +320,6 @@ func newCasemapMap(size int) casemapMap {
|
||||
}
|
||||
}
|
||||
|
||||
func (cm *casemapMap) OriginalKey(name string) (key string, ok bool) {
|
||||
entry, ok := cm.innerMap[cm.casemap(name)]
|
||||
if !ok {
|
||||
return "", false
|
||||
}
|
||||
return entry.originalKey, true
|
||||
}
|
||||
|
||||
func (cm *casemapMap) Has(name string) bool {
|
||||
_, ok := cm.innerMap[cm.casemap(name)]
|
||||
return ok
|
||||
|
Loading…
Reference in New Issue
Block a user