summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 03:49:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 03:49:40 +0000
commit2ebdb2e1b2b041dc6d937e45a8c34d21239828c7 (patch)
treecdbc95f8eec6f6a05520536839bc32fabb0a91cb /src/inspircd.cpp
parent62aabba3ee2047ab8adf8dd9071a3f976267f82d (diff)
Fixed bug in 'M' datagram handling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@488 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b74ef4d7f..d64b016e0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -5353,7 +5353,7 @@ void handle_M(char token,char* params,serverrec* source,serverrec* reply, char*
char original[MAXBUF],target[MAXBUF];
strncpy(original,params,MAXBUF);
int index = 0;
- char* parameter = strtok(NULL," ");
+ char* parameter = strtok(params," ");
strncpy(target,parameter,MAXBUF);
while (parameter)
{