From 460bac780774bb582153313d06f67f331d18506f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 21 Mar 2016 21:46:14 +0100 Subject: Reduce interface --- ivy.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ivy.go') 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) { -- cgit v1.2.3