From 4e40b498b1c5b91da7859360c81ee327da9bf1d6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Jun 2022 09:20:17 +0200 Subject: [PATCH] Drop casemapMap.OriginalKey It's unused. --- irc.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/irc.go b/irc.go index 6d1bab2..495771f 100644 --- a/irc.go +++ b/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