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 24addeda1..138556af3 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -5474,7 +5474,7 @@ void DoSync(serverrec* serv, char* udp_host,int udp_port, long MyKey)
void handle_P(char token,char* params,serverrec* source,serverrec* reply, char* udp_host,int udp_port)
{
- char* src = strtok(NULL," ");
+ char* src = strtok(params," ");
char* dest = strtok(NULL," :");
char* text = strtok(NULL,"\r\n");
text++;