From 909a720b0763137c28d3261db45e004c96cf566e Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Apr 2004 11:53:48 +0000 Subject: Mesh fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@603 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 24731d909..dcab93c1e 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -6330,7 +6330,7 @@ void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* strncpy(clientlist[nick]->host, host,160); strncpy(clientlist[nick]->dhost, dhost,160); strncpy(clientlist[nick]->server, server,256); - strncpy(clientlist[nick]->ident, ident,10); // +1 char to compensate for '~' + strncpy(clientlist[nick]->ident, ident,10); // +1 char to compensate for tilde strncpy(clientlist[nick]->fullname, gecos,128); clientlist[nick]->signon = TS; clientlist[nick]->nping = 0; // this is ignored for a remote user anyway. @@ -6381,7 +6381,11 @@ void handle_plus(char token,char* params,serverrec* source,serverrec* reply, cha char* ipaddr = strtok(NULL," "); char* ipport = strtok(NULL," "); char* cookie = strtok(NULL," "); + log(DEBUG," "); + log(DEBUG," "); + log(DEBUG,"*** Connecting back to %s:%d",ipaddr,ipport); me[defaultRoute]->MeshCookie(ipaddr,atoi(ipport),atoi(cookie),servername); + log(DEBUG," "); } -- cgit v1.2.3