summaryrefslogtreecommitdiff
path: root/Presence/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/Server.hs')
-rw-r--r--Presence/Server.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Presence/Server.hs b/Presence/Server.hs
index 4ee55821..1d586900 100644
--- a/Presence/Server.hs
+++ b/Presence/Server.hs
@@ -143,7 +143,7 @@ data InOrOut = In | Out
143data ConnectionEvent b 143data ConnectionEvent b
144 = Got b 144 = Got b
145 -- ^ Arrival of data from a socket 145 -- ^ Arrival of data from a socket
146 | Connection (IO Bool) (IO (Maybe ByteString)) (ByteString -> IO Bool) 146 | Connection (STM Bool) (IO (Maybe ByteString)) (ByteString -> IO Bool)
147 -- ^ A new connection was established 147 -- ^ A new connection was established
148 | HalfConnection InOrOut 148 | HalfConnection InOrOut
149 -- ^ Half of a half-duplex connection is avaliable. 149 -- ^ Half of a half-duplex connection is avaliable.
@@ -314,7 +314,7 @@ killListener (thread,sock) = do sClose sock
314 314
315conevent con = Connection pingflag read write 315conevent con = Connection pingflag read write
316 where 316 where
317 pingflag = atomically $ swapTVar (pingFlag (connPingTimer con)) False 317 pingflag = swapTVar (pingFlag (connPingTimer con)) False
318 read = connRead con 318 read = connRead con
319 write = connWrite con 319 write = connWrite con
320 320