summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()