Drop casemapMap.OriginalKey

It's unused.
This commit is contained in:
Simon Ser 2022-06-06 09:20:17 +02:00
parent 22b235602b
commit 4e40b498b1

8
irc.go
View File

@ -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 { func (cm *casemapMap) Has(name string) bool {
_, ok := cm.innerMap[cm.casemap(name)] _, ok := cm.innerMap[cm.casemap(name)]
return ok return ok