diff --git a/src/XMPPConnection.m b/src/XMPPConnection.m index c1471c4..695130b 100644 --- a/src/XMPPConnection.m +++ b/src/XMPPConnection.m @@ -251,7 +251,7 @@ OFEnumerator *enumerator; if (server) - [sock connectToHost: server + [sock connectToHost: [self XMPP_IDNAToASCII: server] port: port]; else { @try {