Author: Perry Lorier <isomer@coders.net>
[ircu2.10.12-pk.git] / ircd / s_bsd.c
index 4cf0dd1099494ff9d16bd69cd0316e8fe6b408f0..b7d7b46d286293d11d04dac2ff4e9d30d20ed53a 100644 (file)
@@ -581,9 +581,9 @@ void add_connection(struct Listener* listener, int fd)
   if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) {
 #ifdef IPCHECKDEBUG     
    char buff[512];
-   snprintf(buff,512,"\n%s [%i connections active]\n",
-       throttle_message,
-       IPcheck_nr(addr.sin_addr));
+   snprintf(buff,512,"\n\rNOTICE * :IPCheck=%i connections active\n\r%s",
+       IPcheck_nr(cptr),
+       throttle_message);
    buff[511]=0;
    send(fd,buff,strlen(buff),0);
 #else