summaryrefslogtreecommitdiff
path: root/ivy.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-21 21:46:14 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-21 21:46:14 +0100
commit460bac780774bb582153313d06f67f331d18506f (patch)
treecfc5966c89277cd11be0311eedb256729e40d3f5 /ivy.go
parentb22a54c2e97a5e68590352c86235a8da245d5311 (diff)
Reduce interface
Diffstat (limited to 'ivy.go')
-rw-r--r--ivy.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/ivy.go b/ivy.go
index 66c07e7..7b2ff70 100644
--- a/ivy.go
+++ b/ivy.go
@@ -7,11 +7,7 @@ import (
ivy "robpike.io/ivy/mobile"
)
-type Ivy struct {
- Command
-}
-
-func (_ Ivy) WithArgs(_ int) bool { return true }
+type Ivy struct{}
func (_ Ivy) Handle(conn *irc.Conn, line *irc.Line) {
switch q := strings.SplitN(line.Text(), " ", 2); len(q) {