diff options
author | joe <joe@jerkface.net> | 2017-06-08 13:53:37 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-06-08 13:53:37 -0400 |
commit | cb2bd0bf4b5977ef6ec7ca7ab9ac0189457c2250 (patch) | |
tree | 7fc115e4343411659a3b7822fdfa2476deafa9a1 /src/Network/BitTorrent/DHT | |
parent | 71427b224f25f01c0ce4ddfb1870378e7cc38822 (diff) |
Renamed Data.Tox -> Network.DatagramServer.Tox
Diffstat (limited to 'src/Network/BitTorrent/DHT')
-rw-r--r-- | src/Network/BitTorrent/DHT/Message.hs | 4 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Query.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Routing.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Search.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/DHT/Session.hs | 2 |
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 | |||
94 | import Data.BEncode as BE | 94 | import Data.BEncode as BE |
95 | import Data.BEncode.BDict as BDict | 95 | import Data.BEncode.BDict as BDict |
96 | #else | 96 | #else |
97 | import qualified Data.Tox as Tox | 97 | import qualified Network.DatagramServer.Tox as Tox |
98 | import Data.Tox (NodeId) | 98 | import Network.DatagramServer.Tox (NodeId) |
99 | import Data.Word | 99 | import Data.Word |
100 | import Control.Monad | 100 | import Control.Monad |
101 | import Network.KRPC.Method | 101 | import 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) | |||
96 | import Network.DatagramServer.Mainline (KMessageOf) | 96 | import Network.DatagramServer.Mainline (KMessageOf) |
97 | #else | 97 | #else |
98 | import Data.ByteString (ByteString) | 98 | import Data.ByteString (ByteString) |
99 | import Data.Tox | 99 | import Network.DatagramServer.Tox |
100 | #endif | 100 | #endif |
101 | import Network.BitTorrent.Address hiding (NodeId) | 101 | import Network.BitTorrent.Address hiding (NodeId) |
102 | import Network.DatagramServer.Types as RPC hiding (Query,Response) | 102 | import 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 | |||
89 | import Network.DHT.Mainline () | 89 | import Network.DHT.Mainline () |
90 | import Network.DatagramServer.Mainline (KMessageOf) | 90 | import Network.DatagramServer.Mainline (KMessageOf) |
91 | #else | 91 | #else |
92 | import Data.Tox as Tox | 92 | import Network.DatagramServer.Tox as Tox |
93 | type KMessageOf = Tox.Message | 93 | type 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 () | |||
30 | import Network.DatagramServer.Mainline (KMessageOf) | 30 | import Network.DatagramServer.Mainline (KMessageOf) |
31 | type Ann = () | 31 | type Ann = () |
32 | #else | 32 | #else |
33 | import Data.Tox as Tox | 33 | import Network.DatagramServer.Tox as Tox |
34 | type KMessageOf = Tox.Message | 34 | type KMessageOf = Tox.Message |
35 | type Ann = Bool | 35 | type 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) | |||
110 | import Data.BEncode (BValue) | 110 | import Data.BEncode (BValue) |
111 | import Network.DatagramServer.Mainline (KMessageOf) | 111 | import Network.DatagramServer.Mainline (KMessageOf) |
112 | #else | 112 | #else |
113 | import Data.Tox as Tox | 113 | import Network.DatagramServer.Tox as Tox |
114 | #endif | 114 | #endif |
115 | import Network.BitTorrent.Address | 115 | import Network.BitTorrent.Address |
116 | import Network.BitTorrent.DHT.ContactInfo (PeerStore) | 116 | import Network.BitTorrent.DHT.ContactInfo (PeerStore) |