summaryrefslogtreecommitdiff
path: root/Presence/XMPPServer.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/XMPPServer.hs')
-rw-r--r--Presence/XMPPServer.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs
index 813c7c7b..f607989d 100644
--- a/Presence/XMPPServer.hs
+++ b/Presence/XMPPServer.hs
@@ -160,7 +160,7 @@ startCon session_factory sock st = do
160 -- cred <- getLocalPeerCred sock 160 -- cred <- getLocalPeerCred sock
161 -- Prelude.putStrLn $ "PEER CRED: "++Prelude.show cred 161 -- Prelude.putStrLn $ "PEER CRED: "++Prelude.show cred
162 pname <- getPeerName sock 162 pname <- getPeerName sock
163 session <- newSession session_factory sock h 163 session <- newSession session_factory sock
164 Prelude.putStrLn $ "PEER NAME: "++Prelude.show pname 164 Prelude.putStrLn $ "PEER NAME: "++Prelude.show pname
165 pchan <- subscribe session Nothing 165 pchan <- subscribe session Nothing
166 cmdChan <- atomically newTChan 166 cmdChan <- atomically newTChan
@@ -418,7 +418,7 @@ startPeer session_factory sock st = do
418 name <- fmap bshow $ getPeerName sock 418 name <- fmap bshow $ getPeerName sock
419 L.putStrLn $ "IN peer: connected " <++> name 419 L.putStrLn $ "IN peer: connected " <++> name
420 jids <- newTVarIO Set.empty 420 jids <- newTVarIO Set.empty
421 session <- newSession session_factory sock h 421 session <- newSession session_factory sock
422 let quit = do 422 let quit = do
423 L.putStrLn $ "IN peer: disconnected " <++> name 423 L.putStrLn $ "IN peer: disconnected " <++> name
424 js <- fmap Set.toList (readTVarIO jids) 424 js <- fmap Set.toList (readTVarIO jids)