summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index da2f50b..cd1d751 100644
--- a/main.go
+++ b/main.go
@@ -49,7 +49,6 @@ func discon(c chan struct{}) irc.HandlerFunc {
}
func privmsg(n, k chan string, room string) irc.HandlerFunc {
- go watchNews(n) // TODO shall it be there?
l := links(n)
return func(conn *irc.Conn, line *irc.Line) {
t := line.Text()
@@ -71,6 +70,7 @@ func main() {
done := make(chan struct{})
n := notify(c, *room)
k := kicker(c, *room)
+ go Watch(n, Feeds) // TODO shall it be there?
// setup event handler
handler := []struct {