summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/main.go b/main.go
index 9cf4fd4..3376b01 100644
--- a/main.go
+++ b/main.go
@@ -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)