Removed resolver cache, cleanup client code
[ircu2.10.12-pk.git] / ircd / m_connect.c
index 2fc7ec92bd121e7e171cb590eb150a22ab19ec09..b7dfd3ce5c91f06ec8a75c5ea23f9ca9a8c41c0f 100644 (file)
@@ -202,7 +202,7 @@ int ms_connect(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   log_write(LS_NETWORK, L_INFO, 0, "CONNECT From %C : %s %s", sptr, parv[1],
            parv[2] ? parv[2] : "");
 
-  if (connect_server(aconf, sptr, 0)) {
+  if (connect_server(aconf, sptr)) {
     sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :*** Connecting to %s.", sptr,
                  aconf->name);
   }
@@ -332,7 +332,7 @@ int mo_connect(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   tmpport = aconf->port;
   aconf->port = port;
 
-  if (connect_server(aconf, sptr, 0)) {
+  if (connect_server(aconf, sptr)) {
     sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :*** Connecting to %s.", sptr,
                  aconf->name);
   }