summaryrefslogtreecommitdiff
path: root/Presence/XMPPServer.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/XMPPServer.hs')
-rw-r--r--Presence/XMPPServer.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Presence/XMPPServer.hs b/Presence/XMPPServer.hs
index b895597f..1d527246 100644
--- a/Presence/XMPPServer.hs
+++ b/Presence/XMPPServer.hs
@@ -1186,13 +1186,13 @@ forkConnection sv xmpp k laddr pingflag src snk stanzas = do
1186 let from = me -- Look it up from Server object 1186 let from = me -- Look it up from Server object
1187 -- or pass it with Connection event. 1187 -- or pass it with Connection event.
1188 mid = Just "ping" 1188 mid = Just "ping"
1189 ping = makePing namespace mid to from 1189 ping0 = makePing namespace mid to from
1190 ping <- atomically $ wrapStanzaList ping 1190 ping <- atomically $ wrapStanzaList ping0
1191 mapM_ (atomically . Slotted.push slots (Just $ PingSlot)) 1191 mapM_ (atomically . Slotted.push slots (Just $ PingSlot))
1192 ping 1192 ping
1193#ifdef PINGNOISE 1193#ifdef PINGNOISE
1194 wlog "" 1194 wlog ""
1195 CL.sourceList ping $$ prettyPrint $ case k of 1195 CL.sourceList ping0 $$ prettyPrint $ case k of
1196 ClientKey {} -> "C<-Ping" 1196 ClientKey {} -> "C<-Ping"
1197 PeerKey {} -> "P<-Ping " 1197 PeerKey {} -> "P<-Ping "
1198#endif 1198#endif