From: Matt Joiner Date: Sat, 28 Sep 2013 18:05:09 +0000 (+1000) Subject: Handle actorTask messages X-Git-Tag: v1.0.0~1817 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ddd438247484879f50aa4db6176dcbac3a1bf336;p=btrtrc.git Handle actorTask messages --- diff --git a/client.go b/client.go index c34574fd..54cf853c 100644 --- a/client.go +++ b/client.go @@ -220,6 +220,8 @@ func (me *client) run() { } case infoHash := <-me.torrentFinished: delete(me.torrents, infoHash) + case task := <-me.actorTask: + task() } } }