summaryrefslogtreecommitdiff
path: root/dht/examples
diff options
context:
space:
mode:
Diffstat (limited to 'dht/examples')
-rw-r--r--dht/examples/dhtd.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dht/examples/dhtd.hs b/dht/examples/dhtd.hs
index 26e01c75..68c847c5 100644
--- a/dht/examples/dhtd.hs
+++ b/dht/examples/dhtd.hs
@@ -1637,9 +1637,9 @@ initJabber opts ssvar announcer mbtox toxdhts toxchat = case portxmpp opts of
1637 quitChatService <- forkLocalChat chat 1637 quitChatService <- forkLocalChat chat
1638 let chats = Map.fromList [ ("local", chat) 1638 let chats = Map.fromList [ ("local", chat)
1639 , ("ngc", toxchat) ] 1639 , ("ngc", toxchat) ]
1640 forkXmpp sv (presenceHooks state chats (verbosity opts) (Just cport) (Just sport)) 1640 xmpp_thread <- forkXmpp sv (presenceHooks state chats (verbosity opts) (Just cport) (Just sport))
1641 conns <- xmppConnections sv 1641 conns <- xmppConnections sv
1642 return (Just sv, Just conns, Just state, quitChatService) 1642 return (Just sv, Just conns, Just state, killThread xmpp_thread >> quitChatService)
1643 1643
1644main :: IO () 1644main :: IO ()
1645main = do 1645main = do