diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-09 17:25:51 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-09 17:25:51 +0000 |
commit | 058746466a5cccbca637fa8344974ed6844a3e1f (patch) | |
tree | 81b1607ea71c54af06bc7b3c7f732e411e96b38a /src | |
parent | ffe9c0d68503ecf6d69e948b9d9fb667d42f3a74 (diff) |
fixes to 'N' packet handling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@477 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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); |