diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dhtd.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs index bef09b75..4ec4a3f4 100644 --- a/examples/dhtd.hs +++ b/examples/dhtd.hs | |||
@@ -1686,6 +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 | addSession c netcrypto | 1690 | addSession c netcrypto |
1690 | 1691 | ||
1691 | return () | 1692 | return () |