From 460bac780774bb582153313d06f67f331d18506f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 21 Mar 2016 21:46:14 +0100 Subject: Reduce interface --- urban.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'urban.go') diff --git a/urban.go b/urban.go index 3a3aab7..680bf13 100644 --- a/urban.go +++ b/urban.go @@ -8,9 +8,7 @@ import ( irc "github.com/fluffle/goirc/client" ) -type Urban struct{ Command } - -func (_ Urban) WithArgs(_ int) bool { return true } +type Urban struct{} func (_ Urban) Handle(conn *irc.Conn, line *irc.Line) { if q := strings.SplitN(line.Text(), " ", 2); len(q) == 2 { -- cgit v1.2.3