summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-10-09 14:24:16 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-10-09 14:24:16 +0200
commit34e0e4476d5e8902e8cad9c90af5dfe630662a65 (patch)
tree18a3e9c9ac8238ee8a63d9fed95e321b4da1a9a5 /command.go
parent60ecd0675282d2688c3300bd42c3ad7c85489c5b (diff)
Simplify interface
Diffstat (limited to 'command.go')
-rw-r--r--command.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/command.go b/command.go
index 15c4858..9f20c45 100644
--- a/command.go
+++ b/command.go
@@ -1,6 +1,7 @@
package main
import (
+ "fmt"
"log"
"strings"
@@ -9,7 +10,7 @@ import (
type Commander interface {
irc.Handler
- Help() string
+ fmt.Stringer
}
const maxLen = 500