summaryrefslogtreecommitdiff
path: root/Presence
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-06-26 21:16:37 -0400
committerjoe <joe@jerkface.net>2013-06-26 21:16:37 -0400
commit500863fe67432469c5055e592adfe1fe9ad927a8 (patch)
tree4f1fca090a6f7d65999b8d4a2d32699da054b79e /Presence
parent5610131fadb45479984da20143cbc87ce0b04a59 (diff)
minor edit
Diffstat (limited to 'Presence')
-rw-r--r--Presence/ConfigFiles.hs2
-rw-r--r--Presence/XMPPServer.hs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Presence/ConfigFiles.hs b/Presence/ConfigFiles.hs
index f0e18f70..48049c08 100644
--- a/Presence/ConfigFiles.hs
+++ b/Presence/ConfigFiles.hs
@@ -12,7 +12,7 @@ import Control.Exception
12import Control.Monad 12import Control.Monad
13import Todo 13import Todo
14import Control.DeepSeq 14import Control.DeepSeq
15import ByteStringOperators 15import ByteStringOperators() -- For NFData instance
16 16
17type User = ByteString 17type User = ByteString
18 18
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs
index 54ee0975..2329488e 100644
--- a/Presence/XMPPServer.hs
+++ b/Presence/XMPPServer.hs
@@ -488,6 +488,7 @@ startPeer session_factory sock st = do
488 js <- fmap Set.toList (readTVarIO jids) 488 js <- fmap Set.toList (readTVarIO jids)
489 let offline jid = Presence jid Offline 489 let offline jid = Presence jid Offline
490 forM_ js $ announcePresence session . offline 490 forM_ js $ announcePresence session . offline
491 closeSession session
491 return ( (session,jids) .*. ConnectionFinalizer quit .*. st ) 492 return ( (session,jids) .*. ConnectionFinalizer quit .*. st )
492 493
493doPeer st elem cont = do 494doPeer st elem cont = do