summaryrefslogtreecommitdiff
path: root/theo.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-21 23:27:29 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-09-21 23:27:29 +0200
commitdcec8549b4a91863d6f8820582bd757447a6b408 (patch)
tree1e4a4718e0ea6694308bd40a0857c531d89baa0b /theo.go
parent3daaf1f4f28443dfb0439d1f8ced0b129fd89d76 (diff)
Move Help() into interface{}
Diffstat (limited to 'theo.go')
-rw-r--r--theo.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/theo.go b/theo.go
index 2da46e2..fae369b 100644
--- a/theo.go
+++ b/theo.go
@@ -11,10 +11,10 @@ func (_ Theo) Handle(conn *irc.Conn, line *irc.Line) {
conn.Notice(line.Target(), theo.Theo())
}
+func (_ Theo) Help() string {
+ return "Quote Theo De Raadt"
+}
+
func init() {
- Register("theo", &Theo{
- Command{
- Help: "Quote Theo De Raadt",
- },
- })
+ Register("theo", &Theo{})
}