summaryrefslogtreecommitdiff
path: root/urban.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 /urban.go
parentb22a54c2e97a5e68590352c86235a8da245d5311 (diff)
Reduce interface
Diffstat (limited to 'urban.go')
-rw-r--r--urban.go4
1 files changed, 1 insertions, 3 deletions
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 {