diff options
Diffstat (limited to 'src/Network/BitTorrent/DHT/Query.hs')
-rw-r--r-- | src/Network/BitTorrent/DHT/Query.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs index 07fb80c2..714e9559 100644 --- a/src/Network/BitTorrent/DHT/Query.hs +++ b/src/Network/BitTorrent/DHT/Query.hs | |||
@@ -80,6 +80,7 @@ announceH = nodeHandler $ \ naddr @ NodeAddr {..} (Announce {..}) -> do | |||
80 | insertPeer topic peerAddr | 80 | insertPeer topic peerAddr |
81 | return Announced | 81 | return Announced |
82 | 82 | ||
83 | -- | Includes all query handlers. | ||
83 | handlers :: Address ip => [NodeHandler ip] | 84 | handlers :: Address ip => [NodeHandler ip] |
84 | handlers = [pingH, findNodeH, getPeersH, announceH] | 85 | handlers = [pingH, findNodeH, getPeersH, announceH] |
85 | 86 | ||