summaryrefslogtreecommitdiff
path: root/Presence/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/Server.hs')
-rw-r--r--Presence/Server.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Presence/Server.hs b/Presence/Server.hs
index 312634cf..14eab06c 100644
--- a/Presence/Server.hs
+++ b/Presence/Server.hs
@@ -193,6 +193,8 @@ data Server a
193 , retrymap :: TVar (Map SockAddr (TVar Bool,InterruptableDelay)) 193 , retrymap :: TVar (Map SockAddr (TVar Bool,InterruptableDelay))
194 } 194 }
195 195
196control sv = atomically . putTMVar (serverCommand sv)
197
196-- | Construct a 'Server' object. Use 'Control.Monad.Trans.Resource.ResourceT' 198-- | Construct a 'Server' object. Use 'Control.Monad.Trans.Resource.ResourceT'
197-- to ensure proper cleanup. For example, 199-- to ensure proper cleanup. For example,
198-- 200--