summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-07-24 15:57:46 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-07-24 15:57:46 +0200
commit5e4abe0d17cb3a6bc94106936397a410129a24e5 (patch)
treeb5c2bc0f4e69e4b9366edb35477119867569141f /main.go
parentbef0c7d77e17141db87f5ef24dc59941a13c94f5 (diff)
collect in one place
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)