diff options
Diffstat (limited to 'dht/src/Network/Tox/Onion/Routes.hs')
-rw-r--r-- | dht/src/Network/Tox/Onion/Routes.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/src/Network/Tox/Onion/Routes.hs b/dht/src/Network/Tox/Onion/Routes.hs index 374b9648..46ded48d 100644 --- a/dht/src/Network/Tox/Onion/Routes.hs +++ b/dht/src/Network/Tox/Onion/Routes.hs | |||
@@ -249,7 +249,7 @@ newOnionRouter crypto perror tcp_enabled = do | |||
249 | , tcpKademliaClient = tcp | 249 | , tcpKademliaClient = tcp |
250 | { TCP.tcpClient = | 250 | { TCP.tcpClient = |
251 | let c = TCP.tcpClient tcp | 251 | let c = TCP.tcpClient tcp |
252 | in c { clientNet = addHandler perror (handleMessage c) | 252 | in c { clientNet = addHandler (handleMessage c) |
253 | $ onInbound (updateTCP or) | 253 | $ onInbound (updateTCP or) |
254 | $ clientNet c } | 254 | $ clientNet c } |
255 | } | 255 | } |