summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 13:16:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 13:16:10 +0000
commitde122d16f47737bce6d0670763a0d52e62bc84ac (patch)
tree57d232572b98ee5695928fc71beb3d0cee411825
parentef504cafc4c1dc23a4115ed330205f1f7940e79d (diff)
Fixed invite bugs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@523 e03df62e-2008-0410-955e-edbf42e46eb7
-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);