summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Client.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Client.hs')
-rw-r--r--src/Network/BitTorrent/Client.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Network/BitTorrent/Client.hs b/src/Network/BitTorrent/Client.hs
index 93c5f47e..bf6740c3 100644
--- a/src/Network/BitTorrent/Client.hs
+++ b/src/Network/BitTorrent/Client.hs
@@ -21,10 +21,6 @@ module Network.BitTorrent.Client
21 , withClient 21 , withClient
22 , simpleClient 22 , simpleClient
23 23
24 -- ** Events
25 , ClientEvent (..)
26 , Network.BitTorrent.Client.subscription
27
28 -- * BitTorrent monad 24 -- * BitTorrent monad
29 , MonadBitTorrent (..) 25 , MonadBitTorrent (..)
30 , BitTorrent 26 , BitTorrent
@@ -166,11 +162,6 @@ simpleClient m = do
166 runStderrLoggingT $ LoggingT $ \ logger -> do 162 runStderrLoggingT $ LoggingT $ \ logger -> do
167 withClient def logger (`runBitTorrent` m) 163 withClient def logger (`runBitTorrent` m)
168 164
169subscription :: BitTorrent (ReceivePort ClientEvent)
170subscription = do
171 Client {..} <- getClient
172 liftIO $ listen clientEvents
173
174{----------------------------------------------------------------------- 165{-----------------------------------------------------------------------
175-- Torrent identifiers 166-- Torrent identifiers
176-----------------------------------------------------------------------} 167-----------------------------------------------------------------------}