summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 0717ee267..c1eac632f 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6059,7 +6059,7 @@ void handle_P(char token,char* params,serverrec* source,serverrec* reply, char*
void handle_i(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port)
{
char* nick = strtok(params," ");
- char* from = strtok(params," ");
+ char* from = strtok(NULL," ");
char* channel = strtok(NULL," ");
userrec* u = Find(nick);
userrec* user = Find(from);