diff options
author | joe <joe@jerkface.net> | 2014-04-04 21:25:16 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-04-04 21:25:16 -0400 |
commit | 24e346b0ce82b96d5add6f5af4a43caad3bebde0 (patch) | |
tree | 32d43436b4f18f4b01aa51a2d2c54b3b826ebaea /Presence/XMPPServer.hs | |
parent | 006f17c1a1613e7e03bdd4025a0399cdb46cbd6d (diff) |
type signatures
Diffstat (limited to 'Presence/XMPPServer.hs')
-rw-r--r-- | Presence/XMPPServer.hs | 5 |
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) | |||
63 | import qualified Data.Map as Map | 63 | import qualified Data.Map as Map |
64 | import Data.Set (Set, (\\) ) | 64 | import Data.Set (Set, (\\) ) |
65 | import qualified Data.Set as Set | 65 | import qualified Data.Set as Set |
66 | import Data.String ( IsString(..) ) | ||
66 | import qualified System.Random | 67 | import qualified System.Random |
67 | import Data.Void (Void) | 68 | import Data.Void (Void) |
68 | import System.Endian (toBE32) | 69 | import System.Endian (toBE32) |
@@ -191,6 +192,10 @@ data XMPPServerParameters = | |||
191 | } | 192 | } |
192 | 193 | ||
193 | 194 | ||
195 | enableClientHacks :: | ||
196 | forall t a. | ||
197 | (Eq a, IsString a) => | ||
198 | a -> t -> TChan Stanza -> IO () | ||
194 | enableClientHacks "Pidgin" version replyto = do | 199 | enableClientHacks "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 |