diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
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) { |