summaryrefslogtreecommitdiff
path: root/xmppServer.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-03-09 00:54:16 -0500
committerjoe <joe@jerkface.net>2014-03-09 00:54:16 -0500
commitdbc6c658a7b7015879b2d70cad34873b5d7ddb42 (patch)
tree51eca82f0dbd2938331d8a4544afc995bca76902 /xmppServer.hs
parent28c1f1e291d219afe602ecf9a7b453fbe1179435 (diff)
prevent resource from writing to buddies file
Diffstat (limited to 'xmppServer.hs')
-rw-r--r--xmppServer.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmppServer.hs b/xmppServer.hs
index a903f332..9abf419d 100644
--- a/xmppServer.hs
+++ b/xmppServer.hs
@@ -819,8 +819,8 @@ peerInformSubscription state fail k stanza = do
819 flip (maybe fail) (Map.lookup k ktc) 819 flip (maybe fail) (Map.lookup k ktc)
820 $ \(Conn { connChan=sender_chan 820 $ \(Conn { connChan=sender_chan
821 , auxAddr=laddr }) -> do 821 , auxAddr=laddr }) -> do
822 (_,from'@(from_u,from_h,_)) <- rewriteJIDForClient laddr from 822 (_,(from_u,from_h,_)) <- rewriteJIDForClient laddr from
823 let from'' = unsplitJID from' 823 let from'' = unsplitJID (from_u,from_h,Nothing)
824 muser = do 824 muser = do
825 to <- stanzaTo stanza 825 to <- stanzaTo stanza
826 let (mu,to_h,to_r) = splitJID to 826 let (mu,to_h,to_r) = splitJID to