diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -7,7 +7,6 @@ import ( "log" "strings" "time" - "unicode" irc "github.com/fluffle/goirc/client" ) @@ -43,16 +42,6 @@ func (n *Notify) Write(p []byte) (int, error) { return len(p), nil } -func noSpaceCompare(a, b string) bool { - dropSpaces := func(r rune) rune { - if unicode.IsSpace(r) { - return -1 - } - return r - } - return strings.Map(dropSpaces, a) == strings.Map(dropSpaces, b) -} - func privmsg(room string) irc.HandlerFunc { var ( last = make(map[string]string) |