summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 4ec4a3f4..6161fbb4 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -1686,7 +1686,7 @@ onNewToxSession sv ssvar ContactInfo{accounts} addrTox netcrypto = do
1686 return c 1686 return c
1687 Just c -> return c 1687 Just c -> return c
1688 1688
1689 addDestroySessionHook netcrypto (Just 0) $ delSession c . fromIntegral . ncSessionId 1689 atomically $ Tox.addDestroySessionHook netcrypto (Just 0) $ void . delSession c . fromIntegral . Tox.ncSessionId
1690 addSession c netcrypto 1690 addSession c netcrypto
1691 1691
1692 return () 1692 return ()