]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_conf.c
[svn] Don't show the UID if a TS6 server sends a kick with
[irc/rqf/shadowircd.git] / src / s_conf.c
index fa3580a2d899315c318f376e4584c4713ef63b2d..bb59cbfc72bfecb11a22411efb345f1fc8819ccb 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: s_conf.c 3257 2007-03-13 16:09:28Z jilles $
+ *  $Id: s_conf.c 3271 2007-03-18 14:44:24Z jilles $
  */
 
 #include "stdinc.h"
@@ -239,7 +239,7 @@ check_client(struct Client *client_p, struct Client *source_p, const char *usern
                                "I-line is full for %s!%s%s@%s (%s).",
                                source_p->name, IsGotId(source_p) ? "" : "~",
                                source_p->username, source_p->host,
-                               source_p->sockhost);
+                               show_ip(NULL, source_p) && !IsIPSpoof(source_p) ? source_p->sockhost : "255.255.255.255");
 
                ilog(L_FUSER, "Too many connections from %s!%s%s@%s.", 
                        source_p->name, IsGotId(source_p) ? "" : "~",