Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / ircd / s_bsd.c
index 15d53b812c28ecce38b68b0cf346a95cf1ebc518..5e39f22b5da549ad07ace730cfb798239ccaf3aa 100644 (file)
@@ -1417,6 +1417,8 @@ int connect_server(struct ConfItem* aconf, struct Client* by,
   LocalClientArray[cptr->fd] = cptr;
 
   Count_newunknown(UserStats);
+  ip_registry_add_local(aconf->ipnum.s_addr);
+
   add_client_to_list(cptr);
   hAddClient(cptr);
   nextping = CurrentTime;