summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5a4f542fc..f21df853a 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -5154,8 +5154,8 @@ void handle_N(char token,char* params,serverrec* source,serverrec* reply, char*
char* dhost = strtok(NULL," ");
char* ident = strtok(NULL," ");
char* modes = strtok(NULL," ");
- char* server = strtok(NULL," ");
- char* gecos = strtok(NULL," ");
+ char* server = strtok(NULL," :");
+ char* gecos = strtok(NULL,"\r\n");
time_t TS = atoi(tm);
user_hash::iterator iter = clientlist.find(nick);
if (iter != clientlist.end())