]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/client.c
[svn] Remove invite_ops_only, forcing it to YES.
[irc/rqf/shadowircd.git] / src / client.c
index eea542910b10a57745d556d9f99d2cac37fe536b..6279a5660587d7bb064932694ac003bb09e35fab 100644 (file)
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: client.c 1861 2006-08-26 23:21:42Z jilles $
+ *  $Id: client.c 3167 2007-01-26 18:52:11Z jilles $
  */
 #include "stdinc.h"
 #include "config.h"
@@ -1422,7 +1422,9 @@ exit_unknown_client(struct Client *client_p, struct Client *source_p, struct Cli
        dlinkDelete(&source_p->localClient->tnode, &unknown_list);
 
        if(!IsIOError(source_p))
-               sendto_one(source_p, "ERROR :Closing Link: 127.0.0.1 (%s)", comment);
+               sendto_one(source_p, "ERROR :Closing Link: %s (%s)",
+                       source_p->user != NULL ? source_p->host : "127.0.0.1",
+                       comment);
 
        close_connection(source_p);