summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/DHT
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-06-08 13:53:37 -0400
committerjoe <joe@jerkface.net>2017-06-08 13:53:37 -0400
commitcb2bd0bf4b5977ef6ec7ca7ab9ac0189457c2250 (patch)
tree7fc115e4343411659a3b7822fdfa2476deafa9a1 /src/Network/BitTorrent/DHT
parent71427b224f25f01c0ce4ddfb1870378e7cc38822 (diff)
Renamed Data.Tox -> Network.DatagramServer.Tox
Diffstat (limited to 'src/Network/BitTorrent/DHT')
-rw-r--r--src/Network/BitTorrent/DHT/Message.hs4
-rw-r--r--src/Network/BitTorrent/DHT/Query.hs2
-rw-r--r--src/Network/BitTorrent/DHT/Routing.hs2
-rw-r--r--src/Network/BitTorrent/DHT/Search.hs2
-rw-r--r--src/Network/BitTorrent/DHT/Session.hs2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/Network/BitTorrent/DHT/Message.hs b/src/Network/BitTorrent/DHT/Message.hs
index cfe24fc5..4410a296 100644
--- a/src/Network/BitTorrent/DHT/Message.hs
+++ b/src/Network/BitTorrent/DHT/Message.hs
@@ -94,8 +94,8 @@ import Data.Bool
94import Data.BEncode as BE 94import Data.BEncode as BE
95import Data.BEncode.BDict as BDict 95import Data.BEncode.BDict as BDict
96#else 96#else
97import qualified Data.Tox as Tox 97import qualified Network.DatagramServer.Tox as Tox
98import Data.Tox (NodeId) 98import Network.DatagramServer.Tox (NodeId)
99import Data.Word 99import Data.Word
100import Control.Monad 100import Control.Monad
101import Network.KRPC.Method 101import Network.KRPC.Method
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs
index 1c4df267..fc6625ae 100644
--- a/src/Network/BitTorrent/DHT/Query.hs
+++ b/src/Network/BitTorrent/DHT/Query.hs
@@ -96,7 +96,7 @@ import Network.DHT.Mainline hiding (NodeId)
96import Network.DatagramServer.Mainline (KMessageOf) 96import Network.DatagramServer.Mainline (KMessageOf)
97#else 97#else
98import Data.ByteString (ByteString) 98import Data.ByteString (ByteString)
99import Data.Tox 99import Network.DatagramServer.Tox
100#endif 100#endif
101import Network.BitTorrent.Address hiding (NodeId) 101import Network.BitTorrent.Address hiding (NodeId)
102import Network.DatagramServer.Types as RPC hiding (Query,Response) 102import Network.DatagramServer.Types as RPC hiding (Query,Response)
diff --git a/src/Network/BitTorrent/DHT/Routing.hs b/src/Network/BitTorrent/DHT/Routing.hs
index d147bb94..fc7c76b0 100644
--- a/src/Network/BitTorrent/DHT/Routing.hs
+++ b/src/Network/BitTorrent/DHT/Routing.hs
@@ -89,7 +89,7 @@ import Network.BitTorrent.Address
89import Network.DHT.Mainline () 89import Network.DHT.Mainline ()
90import Network.DatagramServer.Mainline (KMessageOf) 90import Network.DatagramServer.Mainline (KMessageOf)
91#else 91#else
92import Data.Tox as Tox 92import Network.DatagramServer.Tox as Tox
93type KMessageOf = Tox.Message 93type KMessageOf = Tox.Message
94#endif 94#endif
95 95
diff --git a/src/Network/BitTorrent/DHT/Search.hs b/src/Network/BitTorrent/DHT/Search.hs
index 7a587644..367a6a9b 100644
--- a/src/Network/BitTorrent/DHT/Search.hs
+++ b/src/Network/BitTorrent/DHT/Search.hs
@@ -30,7 +30,7 @@ import Network.DHT.Mainline ()
30import Network.DatagramServer.Mainline (KMessageOf) 30import Network.DatagramServer.Mainline (KMessageOf)
31type Ann = () 31type Ann = ()
32#else 32#else
33import Data.Tox as Tox 33import Network.DatagramServer.Tox as Tox
34type KMessageOf = Tox.Message 34type KMessageOf = Tox.Message
35type Ann = Bool 35type Ann = Bool
36#endif 36#endif
diff --git a/src/Network/BitTorrent/DHT/Session.hs b/src/Network/BitTorrent/DHT/Session.hs
index ead4a723..f874b62e 100644
--- a/src/Network/BitTorrent/DHT/Session.hs
+++ b/src/Network/BitTorrent/DHT/Session.hs
@@ -110,7 +110,7 @@ import qualified Network.DatagramServer as KRPC (def)
110import Data.BEncode (BValue) 110import Data.BEncode (BValue)
111import Network.DatagramServer.Mainline (KMessageOf) 111import Network.DatagramServer.Mainline (KMessageOf)
112#else 112#else
113import Data.Tox as Tox 113import Network.DatagramServer.Tox as Tox
114#endif 114#endif
115import Network.BitTorrent.Address 115import Network.BitTorrent.Address
116import Network.BitTorrent.DHT.ContactInfo (PeerStore) 116import Network.BitTorrent.DHT.ContactInfo (PeerStore)