summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-12-20 23:17:09 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-12-20 23:17:09 +0100
commit9b70cb6996a7b9e151e23dc9e49cc8a1114391d5 (patch)
treedf50b89160ceae5091bc1ff20ad88a3f4bd7b65a
parent8352e63f1604786e5a37312910a78ef78cfc296d (diff)
Remove help stringer
-rw-r--r--command.go2
-rw-r--r--last.go4
2 files changed, 0 insertions, 6 deletions
diff --git a/command.go b/command.go
index 9f20c45..b098b1b 100644
--- a/command.go
+++ b/command.go
@@ -1,7 +1,6 @@
package main
import (
- "fmt"
"log"
"strings"
@@ -10,7 +9,6 @@ import (
type Commander interface {
irc.Handler
- fmt.Stringer
}
const maxLen = 500
diff --git a/last.go b/last.go
index 8cf12fa..aa326e4 100644
--- a/last.go
+++ b/last.go
@@ -23,10 +23,6 @@ func (Last) Handle(conn *irc.Conn, line *irc.Line) {
})
}
-func (Last) String() string {
- return "Return last 10 messages"
-}
-
func Push(line *irc.Line) {
buffer.Value = line
buffer = buffer.Next()