summaryrefslogtreecommitdiff
path: root/Presence/XMPPServer.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-04-04 21:25:16 -0400
committerjoe <joe@jerkface.net>2014-04-04 21:25:16 -0400
commit24e346b0ce82b96d5add6f5af4a43caad3bebde0 (patch)
tree32d43436b4f18f4b01aa51a2d2c54b3b826ebaea /Presence/XMPPServer.hs
parent006f17c1a1613e7e03bdd4025a0399cdb46cbd6d (diff)
type signatures
Diffstat (limited to 'Presence/XMPPServer.hs')
-rw-r--r--Presence/XMPPServer.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs
index 6f834c25..df2945d6 100644
--- a/Presence/XMPPServer.hs
+++ b/Presence/XMPPServer.hs
@@ -63,6 +63,7 @@ import Data.Map (Map)
63import qualified Data.Map as Map 63import qualified Data.Map as Map
64import Data.Set (Set, (\\) ) 64import Data.Set (Set, (\\) )
65import qualified Data.Set as Set 65import qualified Data.Set as Set
66import Data.String ( IsString(..) )
66import qualified System.Random 67import qualified System.Random
67import Data.Void (Void) 68import Data.Void (Void)
68import System.Endian (toBE32) 69import System.Endian (toBE32)
@@ -191,6 +192,10 @@ data XMPPServerParameters =
191 } 192 }
192 193
193 194
195enableClientHacks ::
196 forall t a.
197 (Eq a, IsString a) =>
198 a -> t -> TChan Stanza -> IO ()
194enableClientHacks "Pidgin" version replyto = do 199enableClientHacks "Pidgin" version replyto = do
195 wlog "Enabling hack SimulatedChatErrors for client Pidgin" 200 wlog "Enabling hack SimulatedChatErrors for client Pidgin"
196 donevar <- atomically newEmptyTMVar 201 donevar <- atomically newEmptyTMVar