diff options
-rw-r--r-- | src/inspircd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 68cf96d8a..77abfb25f 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -5101,12 +5101,12 @@ void handle_N(char token,char* params,serverrec* source,serverrec* reply, char* { log(DEBUG,"Sync: Received an 'N' packet, processing"); char* tm = strtok(params," "); - char* nick = strtok(params," "); - char* host = strtok(params," "); - char* dhost = strtok(params," "); - char* ident = strtok(params," "); - char* modes = strtok(params," "); - char* server = strtok(params," "); + char* nick = strtok(NULL," "); + char* host = strtok(NULL," "); + char* dhost = strtok(NULL," "); + char* ident = strtok(NULL," "); + char* modes = strtok(NULL," "); + char* server = strtok(NULL," "); char* gecos = strchr(params,':') + 1; time_t TS = atoi(tm); user_hash::iterator iter = clientlist.find(nick); |