From 2ebdb2e1b2b041dc6d937e45a8c34d21239828c7 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 03:49:40 +0000 Subject: Fixed bug in 'M' datagram handling git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@488 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') 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) { -- cgit v1.2.3