summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-13 00:24:24 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-13 00:24:24 +0200
commitf60851176a7e31e76fc0d6861937eed65b7b10bb (patch)
tree3f9a90dd1801f5b5bb99cf3c4b6bd13f63585b75 /main.go
parentab65e05ac72a2370ad27b865f5eab88fd4908942 (diff)
Drop link showcase
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/main.go b/main.go
index 8a02ea3..0b4c0eb 100644
--- a/main.go
+++ b/main.go
@@ -36,7 +36,6 @@ type (
Theo struct{ Command }
Help struct{ Command }
Top struct{ Command }
- Links struct{ Command }
)
var (
@@ -97,10 +96,6 @@ func (_ Top) Handle(conn *irc.Conn, line *irc.Line) {
conn.Privmsg(line.Target(), s)
}
-func (_ Links) Handle(conn *irc.Conn, line *irc.Line) {
- conn.Privmsg(line.Nick, showLinks())
-}
-
func privmsg(conn *irc.Conn, line *irc.Line) {
f := strings.Fields(line.Text())
@@ -182,12 +177,6 @@ func init() {
Help: "Top 10 flooder",
},
})
- Register("links", Links{
- Command{
- Help: "Show cached links",
- },
- })
-
}
func main() {